package
Version:
v0.3.3
Opens a new window with list of versions in this module.
Published: Dec 10, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func SetSignal(hook func())
SetSignal It handles INT and TERM signals. If a hook is provided, it will be
run at signal handling time, before terminating the program.
This is not threadsafe code.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.