Documentation
¶
Overview ¶
Package sdnotify provides methods for sending notifications to systemd
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Connect ¶
func Connect() error
❗ Connect connects systemd to socket
Example ¶
err := Connect() if err != nil { panic(err.Error()) } Status("Loading data %d%%", 50) Ready()
Output:
func ExtendTimeout ¶
❗ ExtendTimeout sends EXTEND_TIMEOUT_USEC message to systemd
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.