Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupSignalHandler ¶
func SetupSignalHandler(cancel context.CancelFunc)
SetupSignalHandler configures the cancel func to be called when one of the gracefulShutdownSignals is received. A subsequent gracefulShutdownSignal would trigger a forceful termination of the program.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.