google.golang.org/grpc/balancer/grpclb.lbBalancer.scStates (field)
10 uses
google.golang.org/grpc/balancer/grpclb (current package)
grpclb.go#L144: scStates: make(map[balancer.SubConn]connectivity.State),
grpclb.go#L213: scStates map[balancer.SubConn]connectivity.State // Used to filter READY SubConns.
grpclb.go#L251: if st, ok := lb.scStates[sc]; ok && st == connectivity.Ready {
grpclb.go#L297: if state, ok := lb.scStates[sc]; ok {
grpclb.go#L320: oldS, ok := lb.scStates[sc]
grpclb.go#L327: lb.scStates[sc] = s
grpclb.go#L334: delete(lb.scStates, sc)
grpclb_remote_balancer.go#L157: lb.scStates[sc] = connectivity.Idle
grpclb_remote_balancer.go#L179: if _, ok := lb.scStates[sc]; !ok {
grpclb_remote_balancer.go#L182: lb.scStates[sc] = connectivity.Idle
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |