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
Click to show internal directories.
Click to hide internal directories.