Skip to main content

Module server

Module server 

Source
Expand description

Daemon wiring: construct the auth core + store, build the router, and bind/listen.

Structs§

DaemonConfig
Daemon configuration, resolved from env vars or CLI args.

Functions§

init_tracing
Initializes structured logging (tracing) if not already installed. Idempotent — safe to call from both the daemon and CLI paths.
serve
Runs the Ijima HTTP daemon: loads the issuer key (creating it on first run), opens the embedded SurrealDB store, builds the router, and serves until interrupted.