MCPcopy
hub / github.com/grpc/grpc-go / weightedTargetBalancer

Struct weightedTargetBalancer

balancer/weightedtarget/weightedtarget.go:77–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77type weightedTargetBalancer struct {
78 logger *grpclog.PrefixLogger
79
80 bg *balancergroup.BalancerGroup
81 stateAggregator *weightedaggregator.Aggregator
82
83 targets map[string]Target
84}
85
86type localityKeyType string
87

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected