Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CacheClint ¶
type CacheClint interface {
Del(key string) (int64, error)
SetString(key, value string, expire int) error
GetString(k string) (string, error)
}
CacheClint 缓存客户端接口定义
type CacheShim ¶
type CacheShim struct {
CacheClient CacheClint
// contains filtered or unexported fields
}
func InitCacheClient ¶
func InitCacheClient(cacheClient CacheClint) *CacheShim
Click to show internal directories.
Click to hide internal directories.