weightedroundrobin

package
v1.28.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2020 License: Apache-2.0 Imports: 0 Imported by: 16

Documentation

Overview

Package weightedroundrobin defines a weighted roundrobin balancer.

Index

Constants

View Source
const Name = "weighted_round_robin"

Name is the name of weighted_round_robin balancer.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddrInfo

type AddrInfo struct {
	Weight uint32
}

AddrInfo will be stored inside Address metadata in order to use weighted roundrobin balancer.

Jump to

Keyboard shortcuts

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