Documentation ¶
Index ¶
- func NewLocalCache() cache.Cache
- type Cache
- func (t *Cache) Decr(key string) error
- func (t *Cache) Delete(key string) error
- func (t *Cache) FlushAll() error
- func (t *Cache) Get(key string, dest interface{}) error
- func (t *Cache) GetMulti(keys []string) []interface{}
- func (t *Cache) Incr(key string) error
- func (t *Cache) IsExist(key string) bool
- func (t *Cache) Set(key string, val interface{}, expire time.Duration) error
- func (t *Cache) StartAndGC(config map[string]interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLocalCache ¶
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func (*Cache) StartAndGC ¶
Click to show internal directories.
Click to hide internal directories.