Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupNotifySignalHandler ¶
func SetupNotifySignalHandler() (stopCh <-chan struct{})
SetupNotifySignalHandler registers SIGTERM and SIGINT. When caught the first signal, the stop channel will be closed. When a second signal caught, the program is terminated with exit code 1.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.