rediscluster

package module
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: BSD-3-Clause Imports: 6 Imported by: 2

Documentation

Index

Constants

View Source
const KeepTTL = -1

KeepTTL is used in Set method of the ClusterStore interface.

Variables

This section is empty.

Functions

func MustNew

func MustNew(name string, opts ...Option) kit.Cluster

func New

func New(name string, opts ...Option) (kit.Cluster, error)

Types

type Option

type Option func(c *cluster)

func WithPrefix

func WithPrefix(prefix string) Option

func WithRedisClient

func WithRedisClient(rc *redis.Client) Option

func WithRedisURL

func WithRedisURL(url string) Option

Jump to

Keyboard shortcuts

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