kvredis

package
v0.0.0-...-04dda1d Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrRedisClientNoBuilt = errors.New("redis client is not built yet")
)

Functions

This section is empty.

Types

type RedisConnectionFactory

type RedisConnectionFactory struct {
	// contains filtered or unexported fields
}

func (*RedisConnectionFactory) BuildRedisConn

func (rcf *RedisConnectionFactory) BuildRedisConn(conf common_conf.RedisConfig)

func (*RedisConnectionFactory) CheckRedisConn

func (rcf *RedisConnectionFactory) CheckRedisConn() error

func (*RedisConnectionFactory) GetRedisConn

func (rcf *RedisConnectionFactory) GetRedisConn() (*redis.Client, error)

func (*RedisConnectionFactory) ResetRedisConf

func (rcf *RedisConnectionFactory) ResetRedisConf()

Jump to

Keyboard shortcuts

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