Documentation ¶
Index ¶
Constants ¶
View Source
const ( ACTION_GET = 1 ACTION_INCR = 2 )
View Source
const CONTENT_LENGTH_SIZE = 4
Variables ¶
This section is empty.
Functions ¶
func StartToListen ¶
func StartToListen()
Types ¶
type KeyBox ¶
type KeyBox struct {
// contains filtered or unexported fields
}
func GetKeyBoxInstance ¶
func GetKeyBoxInstance() *KeyBox
type MemcacheClient ¶
type MemcacheClient struct {
// contains filtered or unexported fields
}
func GetMemcacheClient ¶
func GetMemcacheClient() *MemcacheClient
func (*MemcacheClient) Free ¶
func (this *MemcacheClient) Free()
func (*MemcacheClient) Get ¶
func (this *MemcacheClient) Get(key string) string
func (*MemcacheClient) Incrment ¶
func (this *MemcacheClient) Incrment(key string, incrementValue uint64) uint64
func (*MemcacheClient) Set ¶
func (this *MemcacheClient) Set(key string, value string)
type MemcachePool ¶
type MemcachePool struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.