Documentation ¶
Index ¶
- func Destroy(cache *Cache)
- type Cache
- func (cache *Cache) Clear() error
- func (cache *Cache) Delete(key string) error
- func (cache *Cache) Expire(key string, expireSec int64) error
- func (cache *Cache) Get(key string) (string, error)
- func (cache *Cache) GetAll() (map[string]string, error)
- func (cache *Cache) GetMulti(keys []string) (map[string]string, error)
- func (cache *Cache) Set(key string, value string, expireSec int64) error
- func (cache *Cache) TTL(key string) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.