Documentation
¶
Overview ¶
Package watchdog keeps a hardware (or software) watchdog timer fed (GAPI-DIV-027): if the supervisor hangs, the kicks stop and the device resets the machine. A deliberate stop performs the magic close ('V') so the device disarms instead of firing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Watchdog ¶
type Watchdog struct {
// contains filtered or unexported fields
}
Watchdog is one open keepalive device.
func Open ¶
Open opens the watchdog device (injectable path; /dev/watchdog on hardware). The kick interval must be well below the device timeout.
Click to show internal directories.
Click to hide internal directories.