Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NotifyContext ¶
func NotifyContext() (context.Context, context.CancelFunc)
NotifyContext returns a context that is cancelled when SIGINT or SIGTERM is received. The returned stop function should be called to release resources.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.