Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSighupChan ¶
NewSighupChan returns a channel, which is triggered on every SIGHUP.
func WaitForSigterm ¶
WaitForSigterm waits for either SIGTERM or SIGINT
Returns the caught signal.
It also prevent from program termination on SIGHUP signal, since this signal is frequently used for config reloading.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.