Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ClusterRouter - a router to signal a full cluster route ClusterRouter []byte = []byte{0, 0} )
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { // Nodes - the memcached nodes Nodes []string // NumConnectionsPerNode - idle connection per node NumConnectionsPerNode int // ReconnectionTimeout - the time duration between connection retries ReconnectionTimeout string // MaxWriteTimeout - the max time duration to wait a write operation MaxWriteTimeout string // MaxReadTimeout - the max time duration to wait a read operation MaxReadTimeout string // MaxWriteRetries - the maximum number of write retries MaxWriteRetries int // ReadBufferSize - the size of the read buffer in bytes ReadBufferSize int }
Configuration - configuration wrapper
type Memcached ¶
type Memcached struct {
// contains filtered or unexported fields
}
Memcached - main struct
func New ¶
func New(stats *snitch.Stats, configuration *Configuration) (*Memcached, error)
New - initializes
type MetricsCollector ¶
type MetricsCollector struct {
// contains filtered or unexported fields
}
MetricsCollector - implements the interface zencached.MetricsCollector
Click to show internal directories.
Click to hide internal directories.