Skip to main content

Module config

Module config 

Source
Expand description

Configuration management for shell-tunnel.

Configuration is loaded with the following priority (highest to lowest):

  1. Command-line arguments
  2. Environment variables
  3. Configuration file (JSON)
  4. Default values

Structs§

AuthSection
Authentication configuration.
Config
Application configuration.
CorsSection
CORS configuration section.
LoggingSection
Logging configuration section.
RateLimitSection
Rate limiting configuration.
SecuritySection
Security configuration section.
ServerSection
Server configuration section.

Enums§

ConfigError
Configuration errors.