Expand description
HTTP Gateway module.
Provides HTTP/JSON endpoints that act as a proxy to the gRPC server.
User Request (HTTP/JSON) → gRPC Gateway (axum) → gRPC Server (tonic) → Engine
Structs§
- Gateway
State - Shared state for the Gateway. Holds each gRPC client.
Functions§
- create_
router - Creates the axum router for the Gateway.