Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WaitForShutdown ¶ added in v0.4.0
WaitForShutdown blocks until a signal arrives on sc, then runs shutdown and returns only once shutdown has finished. Callers return from main after this, so the process cannot exit while shutdown is still draining or flushing.
Types ¶
Click to show internal directories.
Click to hide internal directories.