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

Method updateServerName

balancer/grpclb/grpclb_test.go:231–233  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

229}
230
231func (b *remoteBalancer) updateServerName(name string) {
232 b.wantServerName = name
233}
234
235func (b *remoteBalancer) BalanceLoad(stream lbgrpc.LoadBalancer_BalanceLoadServer) error {
236 md, ok := metadata.FromIncomingContext(stream.Context())

Calls

no outgoing calls

Tested by

no test coverage detected