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

# Packages

Package prefixgen defines a language for generating connection prefixes.

# Functions

CopyConfig makes a safe copy of the config to avoid any data corruption for other users of the config.
CopyConfigs makes a safe copy of the config to avoid any data corruption for other users of the config.
CreateDialer creates a Proxy (balancer.Dialer) with supplied server info.
CreateDialers creates a list of Proxies (balancer.Dialer) with supplied server info.
CreateDialersMap creates a map of Proxies (balancer.Dialer) with supplied server info.
No description provided by the author
ForceProxy forces everything through the HTTP proxy at forceAddr using forceToken.
PersistSessionStates makes sure that session states are stored on disk in the given configDir.
TrackStatsFor enables periodic checkpointing of the given proxies' stats to disk.

# Variables

BasePerformanceProbeKB is the minimum number of KB to request from ping endpoint when probing for performance.
IdleTimeout closes connections idle for a period to avoid dangling connections.
InsecureSkipVerifyTLSMasqOrigin controls whether the origin certificate is verified when dialing a tlsmasq proxy.
PerformanceProbes determines how many times to probe for performance on each call to Probe().
Probes determines how many times to probe on each call to Probe() unless it's for performance.

# Structs

KCPConfig adapts kcpwrapper.DialerConfig to the currently deployed configurations in order to provide backward-compatibility.
Server provides the upstream side of a chained proxy setup.