Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthCheckFn ¶
HealthCheckFn is the health checker function type definition.
type Systemd ¶
Systemd is the main interface for supported systemd functionality.
func DefaultSystemd ¶
func DefaultSystemd() Systemd
DefaultSystemd returns the default systemd implementation.
type Watchdog ¶
type Watchdog struct {
// contains filtered or unexported fields
}
Watchdog is the main structure for this package.
func New ¶
func New(healthCheckers ...HealthCheckFn) *Watchdog
New creates a new systemd Watchdog instance.
func (*Watchdog) Notifications ¶
Notifications returns the amount of done systemd notifications.
Click to show internal directories.
Click to hide internal directories.