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

Function stopBackends

balancer/grpclb/grpclb_test.go:336–340  ·  view source on GitHub ↗
(servers []*grpc.Server)

Source from the content-addressed store, hash-verified

334}
335
336func stopBackends(servers []*grpc.Server) {
337 for _, s := range servers {
338 s.Stop()
339 }
340}
341
342type testServers struct {
343 lbAddr string

Calls 1

StopMethod · 0.65

Tested by

no test coverage detected