redis

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const RedisNil = redis.Nil

RedisNil .

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisClient

type RedisClient struct {
	*redis.Client
}

RedisClient .

func NewFailoverRedisDB

func NewFailoverRedisDB(config config.Config) *RedisClient

NewFailoverRedisDB create redis client 哨兵模式 文档: https://github.com/go-redis/redis

func NewRedisDB

func NewRedisDB(config config.Config) *RedisClient

NewRedisDB create redis client 文档: https://github.com/go-redis/redis

Jump to

Keyboard shortcuts

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