Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProxyConfig ¶
type ProxyConfig struct { IncomingAddress string // incoming connection from the internet PortOutLocal int // outgoing connection to local intermediary or origin server PortInLocal int // incoming connection from local intermediary OutgoingAddress string // outgoing connection to next intermediary Whitelisting bool // apply whitelisting ConnTimeout time.Duration // connection read and write timeout Origin bool // true, if target is origin server, false if target is intermediary with two endpoints }
func (*ProxyConfig) Load ¶
func (proxyConfig *ProxyConfig) Load(file string) error
Click to show internal directories.
Click to hide internal directories.