We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce686e5 commit bec957aCopy full SHA for bec957a
memcache/selector.go
@@ -90,6 +90,8 @@ func (ss *ServerList) SetServers(servers ...string) error {
90
}
91
92
// Each iterates over each server calling the given function
93
+// with the server address. If the function returns an error,
94
+// the iteration stops immediately and the error is returned.
95
func (ss *ServerList) Each(f func(net.Addr) error) error {
96
ss.mu.RLock()
97
defer ss.mu.RUnlock()
0 commit comments