Documentation
¶
Overview ¶
*
*Created by Xie Jian on 2019/10/25 9:28
Index ¶
- func NewMemCache() cache.Cache
- type MemCache
- func (mc *MemCache) ClearAll() error
- func (mc *MemCache) Delete(key string) error
- func (mc *MemCache) Get(key string) interface{}
- func (mc *MemCache) GetMulti(keys []string) []interface{}
- func (mc *MemCache) IsExist(key string) bool
- func (mc *MemCache) Put(key string, val interface{}, timeout time.Duration) error
- func (mc *MemCache) StartCache(config string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMemCache ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.