Searched defs:roundRobin (Results 1 – 1 of 1) sorted by relevance
154 type roundRobin struct { struct155 r naming.Resolver member156 w naming.Watcher157 addrs []*addrInfo // all the addresses the client should potentially connect158 mu sync.Mutex159 …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 available162 done bool // The Balancer is closed.165 func (rr *roundRobin) watchAddrUpdates() error {[all …]