package
module
Version:
v0.0.0-...-d9becc3
Opens a new window with list of versions in this module.
Published: Jul 10, 2018
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 23
Opens a new window with list of known importers.
README
¶
sdnotify
sd_notify utility for golang.
Installation
go get github.com/okzk/sdnotify
Example
see sample/main.go
License
MIT
Documentation
¶
ErrSdNotifyNoSocket is the error returned when the NOTIFY_SOCKET does not exist.
Errno sends ERRNO=? to the systemd notify socket.
Ready sends READY=1 to the systemd notify socket.
Reloading sends RELOADING=1 to the systemd notify socket.
SdNotify sends a specified string to the systemd notification socket.
Status sends STATUS=? to the systemd notify socket.
Stopping sends STOPPING=1 to the systemd notify socket.
Watchdog sends WATCHDOG=1 to the systemd notify socket.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.