package
0.0.0-20210713132531-cacfd1af6f6c
Repository: https://github.com/tysonandre/golemproxy.git
Documentation: pkg.go.dev
# Packages
proxy listens on a socket and forwards data to one or more memcache servers (TODO: Actually shard requests).
# Functions
No description provided by the author
No description provided by the author
New returns a memcache client using the provided server.
No description provided by the author
SetServers changes a ServerList's set of servers at runtime and is safe for concurrent use by multiple goroutines.
# Constants
DefaultMaxIdleConns is the default maximum number of idle connections kept for any single address.
DefaultTimeout is the default socket read/write timeout.
There can be at most 100 requests in flight per worker.
At most 100 requests can be waiting inside of a chan to be unqueued.
Needed in case of spurious errors, has to be finite in case memcache cluster is down.
No description provided by the author
# 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.
ErrNoStats means that no statistics were available.
ErrNotStored means that a conditional write operation (i.e.
No description provided by the author
ErrServer means that a server error occurred.
# Structs
No description provided by the author
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.
PipeliningClient is a memcache client with pipelining.
No description provided by the author