package
Version:
v0.0.0-...-5f682be
Opens a new window with list of versions in this module.
Published: Mar 25, 2024
License: MIT
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 Add(f ...func() error)
Add adds `func() error` callback to the globalCloser
Closer ...
New returns new Closer, if []os.Signal is specified Closer will automatically call CloseAll when one of signals is received from OS
CloseAll calls all closer functions
Wait blocks until all closer functions are done
Source Files
¶
Click to show internal directories.
Click to hide internal directories.