Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a client for statistics information & support dump all keys checkout https://github.com/memcached/memcached/blob/master/doc/protocol.txt for more information
func (*Client) GetGeneralStats ¶
func (c *Client) GetGeneralStats() (GeneralStats, error)
GetGeneralStats ...
func (*Client) GetSlabsStats ¶
func (c *Client) GetSlabsStats() (SlabsStats, error)
GetSlabsStats ...
func (*Client) MetaDumpAll ¶
func (c *Client) MetaDumpAll(scanFunc func(key MetaDumpKey)) error
MetaDumpAll ...
type MetaDumpKey ¶
type MetaDumpKey struct { Key string Exp int64 LA int64 CAS uint64 Fetch bool Class uint32 Size uint32 }
MetaDumpKey ...
type SingleSlabStats ¶
type SingleSlabStats struct { ChunkSize uint32 ChunksPerPage uint32 TotalPages uint32 TotalChunks uint64 UsedChunks uint64 }
SingleSlabStats ...
type SlabsStats ¶
type SlabsStats struct { ActiveSlabs uint32 TotalMalloced uint64 SlabIDs []uint32 Slabs map[uint32]SingleSlabStats }
SlabsStats ...
Click to show internal directories.
Click to hide internal directories.