Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Context ¶
Context returns a context which will be canceled when either the SIGINT or SIGTERM signal is caught. It also returns a function that can be used to programmatically cancel the same context at any time. If either signal is caught a second time, the program is terminated immediately with exit code 1.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.