strategy

package
v0.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RoundRobinStrategy

type RoundRobinStrategy struct {
}

RoundRobinStrategy exposes the type as a strategy option

func (RoundRobinStrategy) Select

func (roundRobinStrategy RoundRobinStrategy) Select(nodes []Selector) *Selector

type Selector

type Selector interface {
	TargetNodeID() string
}

type Strategy

type Strategy interface {
	Select([]Selector) *Selector
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL