Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
336
func
stopBackends(servers []*grpc.Server) {
337
for
_, s :=
range
servers {
338
s.Stop()
339
}
340
}
341
342
type
testServers
struct
{
343
lbAddr string
Callers
5
startBackendsAndRemoteLoadBalancer
Function · 0.85
TestGRPCLB_Fallback
Method · 0.85
TestGRPCLB_ExplicitFallback
Method · 0.85
TestGRPCLB_FallBackWithNoServerAddress
Method · 0.85
TestGRPCLB_BackendConnectionErrorPropagation
Method · 0.85
Calls
1
Stop
Method · 0.65
Tested by
no test coverage detected