MCPcopy Create free account
hub / github.com/bradfitz/gomemcache / NewFromSelector

Function NewFromSelector

memcache/memcache.go:129–131  ·  view source on GitHub ↗

NewFromSelector returns a new Client using the provided ServerSelector.

(ss ServerSelector)

Source from the content-addressed store, hash-verified

127
128// NewFromSelector returns a new Client using the provided ServerSelector.
129func NewFromSelector(ss ServerSelector) *Client {
130 return &Client{selector: ss}
131}
132
133// Client is a memcache client.
134// It is safe for unlocked use by multiple concurrent goroutines.

Callers 1

NewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…