lb

package
v0.0.0-...-dca265f Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoPointer = errors.New("no endpoints available")

Functions

This section is empty.

Types

type LoadBalance

type LoadBalance interface {
	Target() (*core.Target, error)
}

func NewRandom

func NewRandom(s []*core.Target, seed int64) LoadBalance

func NewRoundRobin

func NewRoundRobin(s []*core.Target) LoadBalance

func NewWeightRoundRobin

func NewWeightRoundRobin(s []*core.Target) LoadBalance

Jump to

Keyboard shortcuts

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