Documentation ¶
Index ¶
- func ConfigParser(conf interface{}) redis.Options
- func NewCacher(options *redis.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 ¶
func ConfigParser(conf interface{}) redis.Options
ConfigParser config parser for redis
func NewCacher ¶
func NewCacher(options *redis.Options) (adapter.ICacherEngine, error)
NewCacher new Redis Cacher
Types ¶
Click to show internal directories.
Click to hide internal directories.