Expand description
The daemon server core: bind the control socket, accept NDJSON connections, route envelopes to services (or built-in ops), and shut down gracefully.
Structs§
- Daemon
Options - Configuration for a
runinvocation.
Functions§
- resolve_
socket - Resolves the control-socket path: the explicit override, or the per-user
default from
paths::socket_path. - run
- Runs the daemon until a
SIGTERM/SIGINTor a built-inshutdownop, then drains every service and removes the socket. - run_
with_ shutdown - Like
run, but with a shared registry and an externally-owned token.