Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WaitForSignal ¶
WaitForSignal blocks forever waiting for SIGTERM, SIGINT or SIGHUP to arrive from the OS. When one of these signals occurs the provided callback is run and the program exits. The provider logger is used to print which signal was caught and a polite goodbye.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.