Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RandomHandler ¶
type RandomHandler struct {
// contains filtered or unexported fields
}
func NewRandomHandler ¶
func NewRandomHandler() *RandomHandler
func (*RandomHandler) GetServiceNode ¶
func (rh *RandomHandler) GetServiceNode(nodes []*models.ServiceNode, name string) *models.ServiceNode
type RoundRobinHandler ¶
type RoundRobinHandler struct {
// contains filtered or unexported fields
}
func NewRoundRobinHandler ¶
func NewRoundRobinHandler() *RoundRobinHandler
func (*RoundRobinHandler) GetServiceNode ¶
func (r *RoundRobinHandler) GetServiceNode(nodes []*models.ServiceNode, name string) *models.ServiceNode
Click to show internal directories.
Click to hide internal directories.