Versions in this module Expand all Collapse all v0 v0.13.2 Jul 26, 2026 Changes in this version + type ChainPosition int + const AfterPlatformChain + const BeforePlatformChain + type Deps struct + Config *config.Server + Gateways Gateways + Logger *slog.Logger + type Gateways interface + DeleteGateway func(gatewayID, orgID, deletedBy string) error + GetGateway func(gatewayID, orgID string) (*api.GatewayResponse, error) + RegisterGateway func(orgID string, id *string, displayName, description string, endpoints []string, ...) (*api.GatewayResponse, error) + UpdateGateway func(gatewayID, orgID, updatedBy string, req *api.GatewayResponse) (*api.GatewayResponse, error) + type Middleware func(http.Handler) http.Handler + type MiddlewareProvider interface + Middleware func() []PositionedMiddleware + type Plugin interface + Init func(deps *Deps) error + Name func() string + OpenAPISpec func() []byte + RegisterRoutes func(mux *http.ServeMux) + Shutdown func(ctx context.Context) error + type PositionedMiddleware struct + Position ChainPosition + Wrap Middleware