Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllowedHost ¶
func (AllowedHost) Allow ¶
func (a AllowedHost) Allow(req *socks5.Request) bool
type AllowedProxyTargets ¶
type AllowedProxyTargets []AllowedHost
type Config ¶
type Config struct { HttpPort int // What port should this server listen for HTTP/websocket connections on (0 == disabled) TcpPort int // What port should this server listen for raw TCP connections on (0 == disabled) AuthKeys auth.Keys // What auth keys can be used when talking with this Emissary server AllowedProxyTargets AllowedProxyTargets // What proxy targets are allowed through this Emissary server DNSServers []string // The DNS server IPs to use; nil means the system default HealthPath string // The path to use for health checks }
func LoadConfig ¶
LoadConfig performs setup for the proxy layer and returns an error if we cannot initialise
Click to show internal directories.
Click to hide internal directories.