Ecosyste.ms: Packages

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

Top 5.3% on proxy.golang.org
Top 3.4% dependent packages on proxy.golang.org
Top 4.7% dependent repos on proxy.golang.org
Top 7.1% forks on proxy.golang.org

proxy.golang.org : github.com/One-com/gone/daemon

Package daemon aims to make it easier to write simple network daemons for process supervised deployment like "systemd". https://www.freedesktop.org/software/systemd/man/daemon.html Specifically it supports the following: Package gone/daemon provides a master server manager for one or more services so they can be taken down and restarted while keeping any network connection or other file descriptors open. Several different reload/restart schemes are possible - see the examples. At the lower level the "gone/daemon/srv" package provides a "Server" interface and functions Serve(), Shutdown(). You can use this interface directly, implementing your own reload policy or use the higherlevel Run() function of the "gone/daemon" package. At the higher level package "gone/daemon" provide the Run() function which takes a set of RunOptions, one of which must be a function to instantiate a slice of srv.Server objects (and possible define cleanup function) and serve these servers until Exit() is called while obeying Reload().

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/%21one-com/gone/daemon
Keywords: daemon, golang, logging-library, socket-activation, statsd-client, systemd
License: MIT
Latest release: about 3 years ago
First release: about 3 years ago
Namespace: github.com/One-com/gone
Dependent packages: 3
Dependent repositories: 1
Stars: 45 on GitHub
Forks: 8 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 3 days ago

    Loading...
    Readme
    Loading...