Skip to main content

run_api

Function run_api 

Source
pub async fn run_api(
    config: Config,
    state: ServiceState,
    shutdown_rx: Receiver<()>,
) -> Result<(), HttpServerError>
Expand description

Run the API HTTP server (private, serves /_status + /api routes).