wrr

package
v2.0.14 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 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 = "weight"
)

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