Documentation ¶
Index ¶
- type MemcachedStore
- func (c *MemcachedStore) Add(key string, value interface{}, expires time.Duration) error
- func (c *MemcachedStore) Decrement(key string, delta uint64) (uint64, error)
- func (c *MemcachedStore) Delete(key string) error
- func (c *MemcachedStore) Flush() error
- func (c *MemcachedStore) Get(key string, value interface{}) error
- func (c *MemcachedStore) Increment(key string, delta uint64) (uint64, error)
- func (c *MemcachedStore) Replace(key string, value interface{}, expires time.Duration) error
- func (c *MemcachedStore) Set(key string, value interface{}, expires time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemcachedStore ¶
func NewMemcachedStore ¶
func NewMemcachedStore(hostList []string, defaultExpiration time.Duration) *MemcachedStore
func (*MemcachedStore) Add ¶
func (c *MemcachedStore) Add(key string, value interface{}, expires time.Duration) error
func (*MemcachedStore) Decrement ¶
func (c *MemcachedStore) Decrement(key string, delta uint64) (uint64, error)
func (*MemcachedStore) Delete ¶
func (c *MemcachedStore) Delete(key string) error
func (*MemcachedStore) Flush ¶
func (c *MemcachedStore) Flush() error
func (*MemcachedStore) Get ¶
func (c *MemcachedStore) Get(key string, value interface{}) error
func (*MemcachedStore) Increment ¶
func (c *MemcachedStore) Increment(key string, delta uint64) (uint64, error)
Click to show internal directories.
Click to hide internal directories.