Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextOrGroupOrInterrupt ¶
ContextOrGroupOrInterrupt blocks until one of 3 things happens: the context deadline is met (if one exists), the wait group's Wait() function naturally unblocks, or we receive a SIGINT/SIGTERM signal.
func InterruptSignal ¶
InterruptSignal creates a channel that will accept the next SIGTERM or SIGINT signal the OS sends to this process. This call does NOT block - it is up to you to "<-" in or out of a 'select' to actually control program flow.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.