Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RedisClient *redis.Client
Functions ¶
Types ¶
type RedisCache ¶
type RedisCache struct {
// contains filtered or unexported fields
}
func NewRedisHandle ¶
func NewRedisHandle(ctx context.Context, client *redis.Client) *RedisCache
func (*RedisCache) Delete ¶
func (r *RedisCache) Delete(key string) error
func (*RedisCache) SetDefaultExp ¶
func (r *RedisCache) SetDefaultExp(exp time.Duration)
Click to show internal directories.
Click to hide internal directories.