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 NewSimple ¶
NewSimple creates a simple RoundTripper with the default configuration that proxies requests to the supplied URL
func (*Upstream) GetAddress ¶
func (u *Upstream) GetAddress(uri string) (*types.UpstreamAddress, error)
GetAddress implements the Upstream interface
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.