package
0.0.0-20180601060148-d032931de3c3
Repository: https://github.com/cloudwise-opensource/gocrab.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
New returns a memcache client using the provided server(s) with equal weight.
NewFromSelector returns a new Client using the provided ServerSelector.
create new memcache adapter.

# Constants

DefaultTimeout is the default socket read/write timeout.

# Variables

ErrCacheMiss means that a Get failed because the item wasn't present.
ErrCASConflict means that a CompareAndSwap call failed due to the cached value being modified between the Get and the CompareAndSwap.
ErrMalformedKey is returned when an invalid key is used.
ErrNoServers is returned when no servers are configured or available.
ErrNoStats means that no statistics were available.
ErrNotStored means that a conditional write operation (i.e.
ErrServer means that a server error occurred.
No description provided by the author

# Structs

Client is a memcache client.
ConnectTimeoutError is the error type used when it takes too long to connect to the desired host.
Item is an item to be got or stored in a memcached server.
Memcache adapter.
ServerList is a simple ServerSelector.

# Interfaces

ServerSelector is the interface that selects a memcache server as a function of the item's key.