Documentation ¶
Overview ¶
Package signals is the package that provide helper functions to receive signals from the system.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupSignalContext ¶
SetupSignalContext is same as SetupSignalHandler, but a context.Context is returned. Only one of SetupSignalContext and SetupSignalHandler should be called, and only can be called once.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.