Skip to main content

Module proxy

Module proxy 

Source
Expand description

Axum wiring: routes, request/response shapes, and observe-mode trace construction (SPEC §7.1, §7.1a — forward unchanged, record asynchronously, zero added latency).

Structs§

AppState
Shared state handed to every request handler. Cheap to clone: an Arced config, a pooled HTTP client, and a bounded channel sender.

Functions§

app
Build the axum router: POST /v1/messages, GET /v1/capabilities, GET /healthz, GET /metrics.