wrr

package
v0.0.0-...-1225d9a Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: MIT Imports: 8 Imported by: 0

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