Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Monitor ¶
func Monitor(cancel context.CancelFunc)
Monitor listens for a shutdown signal and cancels the context if the signal is received. If the signal is received again, it will force a shutdown.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.