Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoadBalancePolicy ¶
LoadBalancePolicy chooses a peer from a set of peers
type RoundRobin ¶
type RoundRobin struct {
// contains filtered or unexported fields
}
RoundRobin implements a round-robin load-balance policy
func NewRoundRobin ¶
func NewRoundRobin() *RoundRobin
NewRoundRobin returns a new RoundRobin load-balance policy
Click to show internal directories.
Click to hide internal directories.