wrr

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const Name = "weighted_round_robin"

Name is the name of weighted_round_robin balancer.

View Source
const (
	WEIGHT_ATTRIBUTE_KEY = "weighted"
)

Variables

This section is empty.

Functions

func GetWeight

func GetWeight(addr resolver.Address) uint32

func SetWeight

func SetWeight(addr *resolver.Address, weight uint32)

Types

This section is empty.

Jump to

Keyboard shortcuts

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