Documentation ¶
Index ¶
- func ClearAll() error
- func Decr(key string) error
- func Delete(key string) error
- func Get(key string, e interface{}) error
- 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
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartAndGC ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.