Versions in this module Expand all Collapse all v1 v1.5.1 May 26, 2023 Changes in this version + var ErrNotConfigured = errors.New("Redis is not configured") + func GetRedisClient(conf *RedisConfig) (redis.UniversalClient, error) + type RedisConfig struct + Address string + ClusterAddresses []string + DB int + MasterName string + MaxRedirects *int + Password string + SentinelAddresses []string + SentinelPassword string + SentinelUsername string + UseTLS bool + Username string + func (r *RedisConfig) GetMaxRedirects() int + func (r *RedisConfig) IsConfigured() bool