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.
PublicExposure
Outcome of hardening a configuration for public exposure.
RateLimitSection
Rate limiting configuration.
SecuritySection
Security configuration section.
ServerSection
Server configuration section.
TransportSection
Reachability configuration section.

Enums§

ConfigError
Configuration errors.
TransportMode
How the server is published to the outside world.