redisx

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPool

func NewPool(config etc.RedisPool) (pool *redis.Pool, err error)

NewPool constructs a redis.Pool with the specified configuration.

The URI scheme currently supports connections to a standalone Redis server, i.e. `redis://user:password@host:port/db-number`.

Types

type SentinelURL

type SentinelURL struct {
	Password    string
	Addrs       []string
	MonitorName string
	Database    int
}

func ParseSentinelURL

func ParseSentinelURL(configURL *url.URL) (sentinelURL SentinelURL, err error)

Jump to

Keyboard shortcuts

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