Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListenForSIGINT ¶
func ListenForSIGINT(handler func())
ListenForSIGINT listens for SIGINT and SIGTERM and calls a provided handler function when captured. This is useful for closing down console applications and web servers
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.