Home
last modified time | relevance | path

Searched defs:roundRobin (Results 1 – 1 of 1) sorted by relevance

/external/syzkaller/vendor/google.golang.org/grpc/
Dbalancer.go154 type roundRobin struct { struct
155 r naming.Resolver member
156 w naming.Watcher
157 addrs []*addrInfo // all the addresses the client should potentially connect
158 mu sync.Mutex
159 …Address // the channel to notify gRPC internals the list of addresses the client should connect to.
160 next int // index of the next address to return for Get()
161 waitCh chan struct{} // the channel to block when there is no connected address available
162 done bool // The Balancer is closed.
165 func (rr *roundRobin) watchAddrUpdates() error {
[all …]