package
0.0.0-20241118202920-e0a1d089f929
Repository: https://github.com/tractordev/toolkit-go.git
Documentation: pkg.go.dev
# Functions
New builds a daemon configured to run a set of services.
TerminateOnContextDone waits for the deamon's context to be canceled.
TerminateOnSignal waits for SIGINT, SIGHUP, SIGTERM, SIGKILL(?) to terminate the daemon.
# Interfaces
Initializer is initialized before services are started.
Service is run after the daemon is initialized.
Terminator is terminated when the daemon gets a stop signal.