# Functions
GetShutdownContext decorates a given context and returns it together with a cancel-function.
Handle invokes given handler when a matching os.Signal is received.
HandleOneShot invokes given handler only once when one of the provided signals is received.
No description provided by the author
RegisterOnShutdownCallback registers a function that is called when the contexts cancel-function is called.
WaitForShutdownContext blocks until all registered callbacks were called.
# Interfaces
Handler invokes registered callbacks when a matching os.Signal is received.