balancers

package
v0.0.0-...-63a9e4b Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(balancer balance2.Balancer)

func NewETCDBuilder

func NewETCDBuilder() resolver.Builder

func NewWith

func NewWith(type_, subType_ string, scales map[string]int) (b balance2.Balancer)

func PickPeer

func PickPeer(method string, peers []*balance2.ServicePeer) (picked *balance2.ServicePeer, err error)

func RegisterResolver

func RegisterResolver(keyPrefix string)

func UpdateScales

func UpdateScales(scales map[string]int)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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