google.golang.org/grpc.pickfirstBalancer.sc (field)
9 uses
google.golang.org/grpc (current package)
pickfirst.go#L49: sc balancer.SubConn
pickfirst.go#L70: if b.sc == nil {
pickfirst.go#L72: b.sc, err = b.cc.NewSubConn(cs.ResolverState.Addresses, balancer.NewSubConnOptions{})
pickfirst.go#L84: b.cc.UpdateState(balancer.State{ConnectivityState: connectivity.Idle, Picker: &picker{result: balancer.PickResult{SubConn: b.sc}}})
pickfirst.go#L85: b.sc.Connect()
pickfirst.go#L87: b.sc.UpdateAddresses(cs.ResolverState.Addresses)
pickfirst.go#L88: b.sc.Connect()
pickfirst.go#L97: if b.sc != sc {
pickfirst.go#L105: b.sc = nil
![]() |
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. |