Documentation ¶
Index ¶
- func CheckIfCluster(config *config.Config)
- func Delete(key string)
- func Get(key string) string
- func NewRedisClusterClient(config *config.Config) *redis.ClusterClient
- func NewRedisSingleNodeClient(config *config.Config) *redis.Client
- func Set(key string, value string, duration time.Duration)
- type GenericRedisClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIfCluster ¶
func NewRedisClusterClient ¶
func NewRedisClusterClient(config *config.Config) *redis.ClusterClient
Types ¶
type GenericRedisClient ¶
type GenericRedisClient struct { }
Click to show internal directories.
Click to hide internal directories.