Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WaitSignal ¶
func WaitSignal(stop chan struct{})
WaitSignal awaits for SIGINT or SIGTERM and closes the channel
func WaitSignalFunc ¶
func WaitSignalFunc(cancel context.CancelCauseFunc)
WaitSignalFunc awaits for SIGINT or SIGTERM and calls the cancel function
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.