lb

package
v0.0.0-...-1fbf732 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RoundRobinLoadBalance

type RoundRobinLoadBalance struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*RoundRobinLoadBalance) Remove

func (lb *RoundRobinLoadBalance) Remove(sel string)

func (*RoundRobinLoadBalance) Select

func (lb *RoundRobinLoadBalance) Select() string

func (*RoundRobinLoadBalance) Start

func (lb *RoundRobinLoadBalance) Start(seedFunc func() ([]string, error), duration time.Duration)

Jump to

Keyboard shortcuts

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