Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Upstream ¶
type Upstream struct {
// contains filtered or unexported fields
}
Upstream implements the http.RoundTripper interface and is used for requests to all simple and advanced upstreams.
func New ¶
New creates a new RoundTripper from the supplied upstream config
func NewSimple ¶
NewSimple creates a simple RoundTripper with the default configuration that proxies requests to the supplied URL
Source Files
¶
- connection_limiter.go
- dns_resolver.go
- upstream.go
Directories
¶
| Path | Synopsis |
|---|---|
|
unweighted
Package unweighted contains all unweighted upstream balancing algorithm implementations.
|
Package unweighted contains all unweighted upstream balancing algorithm implementations. |
|
weighted
Package weighted contains all weighted upstream balancing algorithm implementations.
|
Package weighted contains all weighted upstream balancing algorithm implementations. |
Click to show internal directories.
Click to hide internal directories.