Documentation
¶
Index ¶
- Variables
- func IsMemcacheError(e error) bool
- type Driver
- func (d *Driver) CachedObject(key string, dst interface{}, generator func() (interface{}, error), force bool) error
- func (d *Driver) Delete(key string)
- func (d *Driver) DeleteMulti(keys []string) error
- func (d *Driver) Exists(key string) bool
- func (d *Driver) Get(key string, dst interface{}) error
- func (d *Driver) GetMulti(keys []string, dst interface{}) error
- func (d *Driver) Set(key string, src interface{}) error
- func (d *Driver) SetMulti(keys []string, src interface{}) error
- type MemcacheOperation
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCacheMiss = memcache.ErrCacheMiss
View Source
var MemcacheConfig = &memcacheConfig{}
Functions ¶
func IsMemcacheError ¶
Types ¶
type Driver ¶
type Driver struct { Logger wcg.Logger EnableOperationLogging bool // contains filtered or unexported fields }
func (*Driver) CachedObject ¶
func (*Driver) DeleteMulti ¶
type MemcacheOperation ¶
Click to show internal directories.
Click to hide internal directories.