Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfiguration = &Configuration{ Policy: "random", FailTimeout: 0, MaxFails: 1, MaxConns: 0, Keepalive: 8, TryDuration: 0, TryInterval: time.Duration(250) * time.Millisecond, }
DefaultConfiguration is the proxy configuration which is used by default.
Functions ¶
func New ¶
func New(name string, upstreamURIs []string, configuration *Configuration) (proxy.HTTPProxyHandler, error)
New creates a new proxy identified by the provided name to the provided upstreamURIs..
Types ¶
Click to show internal directories.
Click to hide internal directories.