# Packages
No description provided by the author
# Functions
AddHandler adds a handler to call when a SIGINT (Ctrl+C) is received.
GoroutineDump returns a string with the current goroutine dump in order to show what's going on in case of timeout.
Listener listens for interrupt signals, registers interrupt callbacks, and responds to custom shutdown signals as required.
Request programmatically requests a shutdown.
Requested returns true if an interrupt has been requested.
RequestRestart sets the reset flag and requests a restart.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
HandlersDone is closed after all interrupt handlers run the first time an interrupt is signaled.
No description provided by the author
= true.
ShutdownRequestChan is a channel that can receive shutdown requests.
No description provided by the author
No description provided by the author
# Structs
No description provided by the author