package state

Import Path
	google.golang.org/grpc/balancer/grpclb/state (on go.dev)

Dependency Relation
	imports one package, and imported by one package

Involved Source Files Package state declares grpclb types to be set by resolvers wishing to pass information to grpclb via resolver.State Attributes.
Package-Level Type Names (total 2, in which 1 are exported)
/* sort exporteds by: | */
State contains gRPCLB-relevant data passed from the name resolver. BalancerAddresses contains the remote load balancer address(es). If set, overrides any resolver-provided addresses with Type of GRPCLB. func Get(state resolver.State) *State func Set(state resolver.State, s *State) resolver.State
Package-Level Functions (total 2, both are exported)
Get returns the grpclb State in the resolver.State, or nil if not present. The returned data should not be mutated.
Set returns a copy of the provided state with attributes containing s. s's data should not be mutated after calling Set.
Package-Level Constants (only one, which is unexported)