Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RandomStrategy ¶
type RandomStrategy struct { }
RoundRobinStrategy exposes the type as a strategy option
func (RandomStrategy) Select ¶
func (randomStrategy RandomStrategy) Select(nodes []Selector) *Selector
type RoundRobinStrategy ¶
type RoundRobinStrategy struct {
// contains filtered or unexported fields
}
RoundRobinStrategy exposes the type as a strategy option
func (*RoundRobinStrategy) Select ¶
func (roundRobinStrategy *RoundRobinStrategy) Select(nodes []Selector) *Selector
Click to show internal directories.
Click to hide internal directories.