rediscluster

package module
v0.0.0-...-ce6f500 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	redis.UniversalClient
}

func NewRedisClusterClient

func NewRedisClusterClient(envPrefix string) *Client

type Config

type Config struct {
	ClusterAddrs        []string      `required:"true"`
	Password            string        `required:"true"`
	ClusterMaxRedirects int           `default:"3"`
	ReadTimeout         time.Duration `default:"3s"`
	PoolSize            int           `default:"50"`
}

Jump to

Keyboard shortcuts

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