Documentation ¶
Overview ¶
Package atexit provides handling for functions you want called when the program exits unexpectedly due to a signal.
You should also make sure you call Run in the normal exit path.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IgnoreSignals ¶
func IgnoreSignals()
IgnoreSignals disables the signal handler and prevents Run from beeing executed automatically
func Unregister ¶
func Unregister(handle FnHandle)
Unregister a function using the handle returned by `Register`
Types ¶
Click to show internal directories.
Click to hide internal directories.