Discover Packages
github.com/snowzach/golib
signal
package
Version:
v1.0.3
Opens a new window with list of versions in this module.
Published: Oct 23, 2023
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
README
README
¶
SIGNAL
The idea behind the signal package is a helper to handle interrupts (Ctrl-C) and
pass shutdown signals as well as a global instance to handle graceful shutdowns.
Expand ▾
Collapse ▴
Documentation
¶
DefaultStopSignals is the SIGINT and SIGTERM signals
Stop is the global stop instance if you wish to use.
NewStop creates a new stop instance
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.