redisClient

package
v0.0.0-...-4623b9b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIfCluster

func CheckIfCluster(config *config.Config)

func Delete

func Delete(key string)

func Get

func Get(key string) string

func NewRedisClusterClient

func NewRedisClusterClient(config *config.Config) *redis.ClusterClient

func NewRedisSingleNodeClient

func NewRedisSingleNodeClient(config *config.Config) *redis.Client

func Set

func Set(key string, value string, duration time.Duration)

Types

type GenericRedisClient

type GenericRedisClient struct {
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL