Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Alive ¶
func Alive() bool
Alive returns true if the main interrupt handler has not been killed.
func DisableLog ¶
func DisableLog()
DisableLog disables all library log output. Logging output is disabled by default until UseLogger is called.
func RequestShutdown ¶
func RequestShutdown()
RequestShutdown initiates a graceful shutdown from the application.
func ShutdownChannel ¶
func ShutdownChannel() <-chan struct{}
ShutdownChannel returns the channel that will be closed once the main interrupt handler has exited.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.