Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Balancer ¶
type Balancer interface {
Build(m map[string]*client.ServerAttributes) error
PickService(name string) (*httputil.ReverseProxy, error)
PickEndpoint(path string) (*httputil.ReverseProxy, error)
}
func NewBalancer ¶
func NewBalancer() Balancer
Click to show internal directories.
Click to hide internal directories.