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

Top 5.9% on proxy.golang.org

proxy.golang.org : github.com/go-pkgz/ctrl

Package ctrl provides a set of control functions for assertions, termination, and so on. Example_gracefulShutdown demonstrates basic usage of the GracefulShutdown function. Example_gracefulShutdownCustomConfiguration demonstrates custom shutdown configuration. Example_gracefulShutdownWithCallbacks demonstrates using callbacks during shutdown. Example_httpServerWithContext demonstrates how to run an HTTP server that shuts down gracefully when the parent context is canceled.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/go-pkgz/ctrl
Keywords: asssertions , control-flow , golang , shutdown
License: MIT
Latest release: 3 months ago
First release: 3 months ago
Namespace: github.com/go-pkgz
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 18 days ago

    Loading...
    Readme
    Loading...