# Functions
clear all cache.
decrease cached int value by key, as a counter.
No description provided by the author
No description provided by the author
GetBool convert interface to bool.
No description provided by the author
从缓存或DB中取数据 value 传引用.
No description provided by the author
GetFloat64 convert interface to float64.
GetInt convert interface to int.
GetInt64 convert interface to int64.
GetString convert interface to string.
increase cached int value by key, as a counter.
No description provided by the author
No description provided by the author
No description provided by the author
NewCache Create a new cache driver by adapter name and config string.
NewMemoryCache returns a new MemoryCache.
NewRedisCache create new redis cache with default collection name.
发布消息.
发布消息.
Register makes a cache adapter available by the adapter name.
No description provided by the author
设置db缓存.
接受消息.
接受消息.
# Variables
1 minute.
DefaultKey the collection name of redis for cache adapter.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
MemoryCache is Memory cache adapter.
MemoryItem store memory cache item.
No description provided by the author
Cache is Redis cache adapter.
# Interfaces
Cache interface contains all behaviors for cache adapter.