Skip to content

Config

Top-level configuration object. Every shadowquic config file deserializes into this struct.

Overall configuration of shadowquic.

Example:

inbound:
  type: xxx
  xxx: xxx
outbound:
  type: xxx
  xxx: xxx
log-level: trace # or debug, info, warn, error
Supported inbound types are listed in InboundCfg

Supported outbound types are listed in OutboundCfg

Fields

inbound

outbound

log-level

  • Type: LogLevel
  • Required: no
  • Default: info