Top 0.5% dependent packages on proxy.golang.org
Top 0.8% dependent repos on proxy.golang.org
Top 6.3% forks on proxy.golang.org
Top 1.4% docker downloads on proxy.golang.org
proxy.golang.org : github.com/xlab/closer
Package closer ensures a clean exit for your Go app. The aim of this package is to provide an universal way to catch the event of application’s exit and perform some actions before it’s too late. Closer doesn’t care about the way application tries to exit, i.e. was that a panic or just a signal from the OS, it calls the provided methods for cleanup and that’s the whole point. All errors and panics will be logged if the logging option of `closer.Checked` was set true, also the exit code (for `os.Exit`) will be determined accordingly:
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/xlab/closer
License: MIT
Latest release: over 2 years ago
First release: almost 3 years ago
Namespace: github.com/xlab
Dependent packages: 90
Dependent repositories: 56
Stars: 125 on GitHub
Forks: 11 on GitHub
Docker dependents: 7
Docker downloads: 4,178
See more repository details: repos.ecosyste.ms
Last synced: 25 days ago