config

package
v0.0.0-...-50e84b0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2021 License: MIT Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL