Expand description
The ACME listener’s routers — the whole service and one profile’s — the metrics listener’s, and the response layers shared with the admin listener.
Structs§
- AppState
- Shared application state handed to every route via
State<AppState>.
Functions§
- build_
app - Builds the whole HTTP service: the server-level routes at the root, and one
ACME router per profile under
/profile/<name>. - build_
router - Builds one profile’s ACME router: every RFC 8555 resource, plus the two
layers that are per-endpoint (its filter chain) or ACME-specific (the
Replay-Nonceminting). - catch_
panic_ acme - The last-resort panic layer for the ACME listener — see [
acme_panic_response]. - metrics_
app - Builds the metrics listener’s router:
GET /metricsand nothing else. - panic_
message - The human-readable message a panic payload carries, or a fixed fallback.
- security_
headers - The three response-hardening headers both listeners apply.