Skip to main content

serve

Function serve 

Source
pub async fn serve(config: &DaemonConfig) -> Result<()>
Expand description

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.

ยงErrors

Returns IjimaError if the key, store, or socket cannot be opened.