Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GCache = newCache()
GCache global memory cache
Functions ¶
This section is empty.
Types ¶
type IBindCache ¶
type IBindCache interface { MCache() *cache.Cache BindWithExp(bean interface{}, key string, exp time.Duration, getDataFunc GetDataFunc) (err error) RememberWithExpiration(key string, exp time.Duration, getFunc GetDataFunc) (data []byte, err error) ShortCache(key string, getFunc GetDataFunc) (data []byte, err error) }
IBindCache 内存缓存bind接口
Click to show internal directories.
Click to hide internal directories.