Documentation ¶
Index ¶
- func BatchDeleteRedisCache(client redis.Cmdable, prefix string)
- func DeleteRedisCache(client redis.Cmdable, key string)
- func GetRedisCache(client redis.Cmdable, key string) string
- func GetRedisCacheKeyByParams(module string, params map[string]interface{}) string
- func SaveRedisCacheWithExpiration(client redis.Cmdable, key, value string, expiration time.Duration) error
- func SaveRedisCacheWithoutExpiration(client redis.Cmdable, key, value string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BatchDeleteRedisCache ¶
BatchDeleteRedisCache 批量删除信息缓存
func DeleteRedisCache ¶
DeleteRedisCache 删除信息缓存
func GetRedisCache ¶
GetRedisCache 获取信息缓存
func GetRedisCacheKeyByParams ¶
GetRedisCacheKey 根据参数获取 Redis key
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.