watchdog

package
v0.240118.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Disable

func Disable() error

disable watchdog timer

func GetInterval

func GetInterval() (time.Duration, error)

return only WatchdogSec valuse from service file.

func Refresh

func Refresh() error

reset watchdog timer

func SendNotify

func SendNotify(signal string) error

func ServiceStarted

func ServiceStarted() error

send a ready signal to systemd

func SetInterval

func SetInterval(t time.Duration) error

set watchdog timer

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL