Skip to main content

Module config

Module config 

Source
Expand description

HTTP server configuration.

HttpServerConfig holds all tuneable parameters. from_env() reads the documented environment variables and overlays them on the struct defaults. Only the standalone binary calls from_env(); library embedders construct HttpServerConfig directly.

Structs§

HttpServerConfig
All tuneable server parameters.
RegistryConfig
Configurable bounds for the in-memory registry.

Enums§

Environment
Deployment environment. Controls log format (pretty vs JSON) and other dev-vs-prod defaults.