Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSighupChan ¶ added in v1.35.2
NewSighupChan returns a channel, which is triggered on every SIGHUP.
func SelfSIGHUP ¶ added in v1.35.1
func SelfSIGHUP()
SelfSIGHUP sends SIGHUP signal to the current process.
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.