package
2.4.88+incompatible
Repository: https://github.com/getlantern/flashlight.git
Documentation: pkg.go.dev

# Functions

AddRules adds the given rules to the current rules.
Configure configures domain routing with the new Rules and ProxiedSitesConfig.
Construct a new Rules tree.
RemoveRules removes the domains from the current rules.
RuleFor returns the Rule most applicable to the given domain.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
Rules.
No description provided by the author

# Structs

ProxiedSitesConfig is a legacy config structure that provides backwards compatibility with old config formats.
Rules is a tree of domain-routing rules that supports fast evaluation.

# Type aliases

Rule specifies how we should handle traffic to a domain and its sub-domains.
RulesMap maps domains to their corresponding rules.