package
1.72.0-dev
Repository: https://github.com/grpc/grpc-go.git
Documentation: pkg.go.dev

# Packages

Package weightedaggregator implements state aggregator for weighted_target balancer.

# Functions

LocalityFromResolverState returns the locality from the resolver.State provided, or an empty string if not present.

# Constants

Name is the name of the weighted_target balancer.

# Variables

NewRandomWRR is the WRR constructor used to pick sub-pickers from sub-balancers.

# Structs

LBConfig is the balancer config for weighted_target.
Target represents one target with the weight and the child policy.