redis

package
v0.0.0-...-63ace11 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisPool

type RedisPool struct {
	Addr               string
	Password           string
	MaxActive          int
	MaxIdle            int
	IdleTimeout        time.Duration
	IdleCheckFrequency time.Duration
	DialTimeout        time.Duration
	ReadTimeout        time.Duration
	WriteTimeout       time.Duration
	// contains filtered or unexported fields
}

func NewRedisPool

func NewRedisPool() *RedisPool

func (*RedisPool) GetClusterClient

func (redisPool *RedisPool) GetClusterClient() *goredis.ClusterClient

func (*RedisPool) Init

func (redisPool *RedisPool) Init()

func (*RedisPool) Release

func (redisPool *RedisPool) Release()

Jump to

Keyboard shortcuts

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