Versions in this module Expand all Collapse all v1 v1.0.1 Jun 21, 2026 Changes in this version + type RedisCache struct + func NewRedisCache() *RedisCache + func (c *RedisCache) Exist(key string) bool + func (c *RedisCache) Get(key string) (string, error) + func (c *RedisCache) GetValueAndTTL(ctx context.Context, key string) (string, time.Duration, error) + func (c *RedisCache) Set(key string, value string, expire int64) error + func (c *RedisCache) TTL(key string) (time.Duration, error)