Module server

Module server 

Source
Expand description

HTTPS server setup: shared state, request-logging middleware, and the TLS server entry point.

Modules§

api_doc
OpenAPI specification document for the manta HTTP server.
auth_middleware
Defensive middleware for the /api/v1/auth/* sub-router.
common
Helpers used only by the manta HTTP server (handlers + service layer).
handlers
Top-level Axum handlers module.
routes
Axum router registration: maps every /api/v1/ path to its handler.

Structs§

ServerState
Shared state for all HTTP handlers.
SiteBackend
All per-site connection data the server needs to talk to backend APIs.

Functions§

start_server
Start the HTTP or HTTPS server.