Versions in this module Expand all Collapse all v0 v0.10.1 Apr 3, 2018 Changes in this version + func ClearAll() error + func Decr(key string) error + func Delete(key string) error + func Get(key string) interface + func GetMulti(keys []string) []interface + func Incr(key string) error + func Init(c cache.Cache) + func IsExist(key string) bool + func Put(key string, val interface{}, timeout time.Duration) error + func StartAndGC(config string) error + type NullCache struct + func (bm *NullCache) ClearAll() error + func (bm *NullCache) Decr(key string) error + func (bm *NullCache) Delete(key string) error + func (bm *NullCache) Get(key string) interface{} + func (bm *NullCache) GetMulti(keys []string) []interface{} + func (bm *NullCache) Incr(key string) error + func (bm *NullCache) IsExist(key string) bool + func (bm *NullCache) Put(key string, val interface{}, timeout time.Duration) error + func (bm *NullCache) StartAndGC(config string) error