Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WaitFinished, WaitCancel = context.WithCancel(context.Background())
var WaitFinished = make(chan bool) TODO: should be set here the default context instead of the background?!
Functions ¶
func GracefullShutdown ¶
func MonitorSigMessages ¶
func MonitorSigMessages(onShutdown ...func())
MonitorSigMessages -> receives the signal of termination, and reacts based on this It should call the Cancel Context, and the entire app should terminate gracefully
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.