Skip to main content

Crate nomoreide_daemon

Crate nomoreide_daemon 

Source
Expand description

Machine-global loopback daemon ownership and state boundary.

Structs§

DaemonOptions
DaemonOwnership
Exclusive ownership of the machine-global runtime. The OS lock is released automatically on crash; state and credentials are removed on orderly drop.

Functions§

run
serve_until
serve_with_shutdown_requests
shutdown_requests is handed in as both ends: the receiver drains the runtime, and the sender is what POST /api/daemon/shutdown pulls on, so a request and a signal reach the same drain rather than two separate exits.