Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Balancer ¶
type Balancer struct {
ReadyProxies map[string]*ReverseProxy
}
func (*Balancer) PickEndpoint ¶
func (b *Balancer) PickEndpoint(path string) *httputil.ReverseProxy
func (*Balancer) PickService ¶
func (b *Balancer) PickService(name string) *httputil.ReverseProxy
type ReverseProxy ¶
type ReverseProxy struct {
*httputil.ReverseProxy
Endpoints []string
Services []string
}
Click to show internal directories.
Click to hide internal directories.