Documentation ¶
Overview ¶
Package libredis
Package libredis
Index ¶
Constants ¶
View Source
const ( REDIS_DEPLOY_KIND_DOUBLE_MASTER = "-1" REDIS_DEPLOY_KIND_SINGLE = "1" REDIS_DEPLOY_KIND_SENTINEL = "2" REDIS_DEPLOY_KIND_OFFICIAL_CLUSTER = "3" REDIS_KIND_SINGLE = 1 REDIS_KIND_SENTINEL = 2 REDIS_KIND_OFFICIAL_CLUSTER = 3 )
View Source
const REDIS_NIL_STR = "redis: nil"
Variables ¶
This section is empty.
Functions ¶
func NewRedisGoV6 ¶
func NewRedisGoV6Cluster ¶
func NewRedisGoV6Cluster(address, password string) *redis.ClusterClient
func NewRedisGoV6Sentinel ¶
func NewRedisGoV6Sentinel(addrs, password, masterName string, opts ...ConfigOption) *redis.Client
Types ¶
type ConfigOption ¶
type ConfigOption func(fo *redis.FailoverOptions)
type RedisGopher ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.