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

github.com/maruel/interrupt

Package interrupt is a single global way to handle process interruption. It is useful for both long lived process to implement controlled shutdown and for CLI tool to handle early termination. The interrupt signal can be set exactly once in the process lifetime and cannot be unset. The signal can optionally be set automatically on Ctrl-C/os.Interrupt. When set, it is expected the process to abort any on-going execution early. The signal can be read via two ways: or

Ecosystem
proxy.golang.org
Latest Release
v1.0.2
over 5 years ago
Versions
3
Dependent Packages
4
Dependent Repos
4
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/maruel/interrupt
spec
License Apache-2.0
Namespace github.com/maruel
First Release over 10 years ago
Last Synced 22 days ago
Repository
Stars 6 on GitHub
Forks 2 on GitHub
Rankings on proxy.golang.org
Overall Top 7.1%
Dependent packages Top 2.8%
Dependent repos Top 2.5%