redisx

package
v0.31.3 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient added in v0.30.19

func NewClient(config etc.RedisPool) (*redis.Client, error)

NewClient constructs a redis.Client 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