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§
- Server
State - Shared state for all HTTP handlers.
- Site
Backend - All per-site connection data the server needs to talk to backend APIs.
Functions§
- start_
server - Start the HTTP or HTTPS server.