An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

proxy.golang.org : github.com/Graphmasters/safedown : v1.0.2

Package safedown provides a graceful way to shutdown an application even when an interrupt signal is received. Example_withShutDown demonstrates how to use the Shutdown method can be used. Example_withSignalReceived demonstrates how setting up the safedown's shutdown actions works when a signal is received. Example_withoutSignalReceived demonstrates how setting up the safedown's shutdown actions works when no signal is received (and the program can terminate of its own accord).

Registry - Documentation - Download - JSON
purl: pkg:golang/github.com/%21graphmasters/safedown@v1.0.2
Published:
Indexed:

    Loading...
    Readme
    Loading...