# Functions

Add adds functions to the global closer.
CloseAll calls all closer functions added to the global closer.
New returns new Closer, if []os.Signal is specified Closer will automatically call CloseAll when one of signals is received from OS.
Wait waits until all the functions added to the global closer are done.

# Structs

Closer holds functions that need to be called to release resources.