Skip to main content

Module gateway

Module gateway 

Source
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§

GatewayState
Shared state for the Gateway. Holds each gRPC client.

Functions§

create_router
Creates the axum router for the Gateway.