package
0.0.0-20240725124217-0fcebed7fef8
Repository: https://github.com/polshe-v/microservices_common.git
Documentation: pkg.go.dev

# Functions

Add adds `func() error` callback to the globalCloser.
CloseAll callback to the globalCloser.
New returns new Closer, if []os.Signal is specified Closer will automatically call CloseAll when one of signals is received from OS.
Wait callback to the globalCloser.

# Structs

Closer type is used to gather all functions which must be executed when program is finished.