Documentation
¶
Index ¶
- func ConfigParser(conf interface{}) cache.Options
- func NewCacher(adapter string, options cache.Options) (adapter.ICacherEngine, error)
- type Cacher
- func (c *Cacher) Decr(key string) error
- func (c *Cacher) Delete(key string) error
- func (c *Cacher) Flush() error
- func (c *Cacher) Get(key string) interface{}
- func (c *Cacher) GetEngine() interface{}
- func (c *Cacher) Incr(key string) error
- func (c *Cacher) IsExist(key string) bool
- func (c *Cacher) Put(key string, val interface{}, timeout int64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigParser ¶
ConfigParser config parser for gomacaron
Types ¶
Click to show internal directories.
Click to hide internal directories.