Module config

Source
Expand description

Configuration logic for onion service reverse proxy.

Structs§

ProxyActionDiscriminantsIter 🔒
An iterator over the variants of ProxyActionDiscriminants
ProxyConfig
Configuration for a reverse proxy running for one onion service.
ProxyConfigBuilder
Builder for ProxyConfig.
ProxyPattern
A set of ports to use when checking how to handle a port.
ProxyRule
A single rule in a ProxyConfig.
ProxyRuleListBuilder
Wrapper struct to help derive_builder find the right types and methods

Enums§

Encapsulation
The method by which we encapsulate a forwarded request.
ProxyAction
An action to take upon receiving an incoming request.
ProxyActionDiscriminants 🔒
Auto-generated discriminant enum variants
ProxyConfigError
An error encountered while parsing or applying a proxy configuration.
ProxyPatternAsEnum 🔒
Representation for a ProxyPattern. Used while deserializing.
TargetAddr
The address to which we forward an accepted connection.

Type Aliases§

ProxyRuleAsTuple 🔒
Helper type used to (de)serialize ProxyRule.
ProxyRuleList 🔒
Helper to define builder for ProxyConfig.