redis

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(addrs []string, opts ...ClientOpt) func(ctx context.Context) error

New returns a new redis health check.

Types

type ClientOpt

type ClientOpt func(opts *clientOpts)

func WithMasterName

func WithMasterName(masterName string) ClientOpt

func WithPassword

func WithPassword(password string) ClientOpt

func WithTLSConfig

func WithTLSConfig(tlsConfig *tls.Config) ClientOpt

Jump to

Keyboard shortcuts

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