package
0.0.0-20210909085526-e457aa145ddf
Repository: https://github.com/gojavacoder/go-server-monitoring-agent.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AddListener is used to append the input ShutdownListener to the internal list which will be used for notification.
GetShutdownHandler can be invoked from other packages for fetching an instance of the ShutdownHandler.
Wait Blocks the calling thread and waits till the shutdown notification is received.

# Structs

ShutdownHandler is responsible for listening to shutdown notifications and propagate the same.

# Interfaces

ShutdownListener should be implemented by structs which needs shutdown notification.