Expand description
Server configuration module
This module handles configuration loading from multiple sources:
- Default values
- TOML configuration file
- Environment variables
- CLI arguments (highest priority)
Structs§
- ApiKey
Settings - API key authentication settings
- Auth
Settings - Authentication settings
- Authorization
Settings - Authorization settings
- Circuit
Cache Settings - Circuit cache settings for FHE operations
- Cluster
Settings - Cluster settings (Raft consensus)
- Compaction
Settings - Compaction settings
- Config
Diff - Tracks which fields changed between two configurations
- JwtSettings
- JWT authentication settings
- LogRotation
Settings - Log rotation settings
- Logging
Settings - Logging settings
- Metrics
Settings - Metrics settings
- Mtls
Settings - mTLS authentication settings
- Network
Settings - Network settings
- Reload
Report - Report of a configuration reload operation
- Reloadable
Config - Wrapper around
ServerConfigthat supports hot-reloading - Resource
Limits - Per-client and global resource limits
- Server
Config - Main server configuration
- Server
Settings - Server-specific settings
- Storage
Settings - Storage engine settings
- Timeout
Config - Connection timeout configuration
- WalSettings
- Write-ahead log settings
Enums§
- Config
Error - Configuration errors
- NonReloadable
Section - Identifies configuration sections that require a server restart
- Reloadable
Section - Identifies configuration sections that can be hot-reloaded without restart
Functions§
- diff
- Compare two configs and produce a diff of what changed