watchdog

package
v0.240209.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: CC0-1.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WD wdStruct

Functions

func DevicesInitializationRequired added in v0.240119.0

func DevicesInitializationRequired()

func Disable added in v0.240119.0

func Disable()

func Enable added in v0.240119.0

func Enable()

func Init added in v0.240106.0

func Init(conf *Config, log *log2.Log, timeout int)

func IsBroken added in v0.240114.0

func IsBroken() bool

func Refresh added in v0.240119.0

func Refresh()

func ReinitRequired added in v0.240114.0

func ReinitRequired() bool

func SendNotify added in v0.240119.0

func SendNotify(signal string)

func ServiceStarted added in v0.240119.0

func ServiceStarted()

send a ready signal to systemd

func SetBroken added in v0.240114.0

func SetBroken()

func SetDeviceInited added in v0.240113.0

func SetDeviceInited()

func SetTimerSec added in v0.240119.0

func SetTimerSec(sec int)

func UnsetBroken added in v0.240114.0

func UnsetBroken()

Types

type Config added in v0.240106.0

type Config struct {
	Disabled bool
	Folder   string
}

Jump to

Keyboard shortcuts

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