MCPcopy
hub / github.com/grpc/grpc-go / reset

Method reset

balancer/pickfirst/pickfirst.go:908–910  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

906}
907
908func (al *addressList) reset() {
909 al.idx = 0
910}
911
912func (al *addressList) updateAddrs(addrs []resolver.Address) {
913 al.addresses = addrs

Callers 3

updateAddrsMethod · 0.95
updateSubConnStateMethod · 0.45

Calls

no outgoing calls

Tested by 1