Documentation ¶
Index ¶
- func BusError(buserror string) error
- func ErrNo(errno int) error
- func IsEnabled() bool
- func MainPID(mainpid int) error
- func Ready() error
- func Reloading() error
- func Send(state string) error
- func Status(status string) error
- func Stopping() error
- func WatchDog() error
- func WatchDogUSec(usec int64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsEnabled ¶
func IsEnabled() bool
IsEnabled tells if systemd notify socket has been detected or not.
func Send ¶
Send state thru the notify socket if any. If the notify socket was not detected, it is a noop call. Use IsEnabled() to determine if the notify socket has been detected.
func WatchDogUSec ¶
WatchDogUSec sends systemd notify WATCHDOG_USEC=%d{µsec}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.