Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Next ¶
Next is a function that returns the next node based on the selector's strategy
func RoundRobin ¶
RoundRobin is a roundrobin strategy algorithm for node selection
type Option ¶
type Option func(*Options)
Option used to initialise the selector
func SetStrategy ¶
SetStrategy sets the default strategy for the selector
Click to show internal directories.
Click to hide internal directories.