Versions in this module Expand all Collapse all v0 v0.0.1 Apr 21, 2026 Changes in this version + func SetupRedis(configPath string) (err error) + type RedisClient struct + Client *redis.Client + func Instance() *RedisClient + func (rc *RedisClient) Del(ctx context.Context, keys ...string) bool + func (rc *RedisClient) GetObj(ctx context.Context, key string, obj interface{}) (err error) + func (rc *RedisClient) GetString(ctx context.Context, key string) (result string, err error) + func (rc *RedisClient) SetObj(ctx context.Context, key string, value interface{}, expiration time.Duration) (err error) + func (rc *RedisClient) SetString(ctx context.Context, key string, value interface{}, expiration time.Duration) (err error)