Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Balancer ¶ added in v0.10.0
type Balancer struct {
// contains filtered or unexported fields
}
Balancer selects an endpoint based on weighted random selection.
func NewBalancer ¶
NewBalancer creates a new weighted balancer with the given endpoints.
Click to show internal directories.
Click to hide internal directories.