Documentation ¶
Overview ¶
*
- @Author: DollarKiller
- @Description: 内部高速缓存
- @Github: https://github.com/dollarkillerx
- @Date: Create in 13:56 2019-10-29
Index ¶
- Variables
- func Exis(key interface{}) bool
- func Get(key interface{}) (interface{}, error)
- func GetAll(checkExpired bool) map[interface{}]interface{}
- func GetBig(key string) (string, error)
- func GetEx(key interface{}) (interface{}, bool)
- func Set(key, value interface{}) error
- func SetBig(key, val string) error
- func SetBigWithExpire(key, value string, expiration time.Duration) error
- func SetWithExpire(key, value interface{}, expiration time.Duration) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Cache gcache.Cache
)
Functions ¶
func SetWithExpire ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.