Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPool ¶
NewPool constructs a redis.Pool for the given RedisPool config params.
The currently supported Redis URL schemas correspond to a Redis server run in standalone and Sentinel modes: - redis://user:password@standalone_host:port/db-number - redis+sentinel://user:password@sentinel_host1:port1,sentinel_host2:port2/monitor-name/db-number
Types ¶
type SentinelURL ¶
func ParseSentinelURL ¶
func ParseSentinelURL(configURL *url.URL) (sentinelURL SentinelURL, err error)
Click to show internal directories.
Click to hide internal directories.