sentinel

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opt ...Option) redigor.ModeInterface

func NewClient

func NewClient(optFunc ...Option) *redigor.Client

Types

type Option added in v1.0.2

type Option func(opts *options)

func WithAddress added in v1.0.2

func WithAddress(value []string) Option

func WithDial added in v1.0.2

func WithDial(value ...redis.DialOption) Option

func WithMasterName added in v1.0.2

func WithMasterName(value string) Option

func WithPool added in v1.0.2

func WithPool(value ...redigor.PoolOption) Option

func WithSentinelDial added in v1.0.2

func WithSentinelDial(value ...redis.DialOption) Option

Directories

Path Synopsis
Ref : github.com/FZambia/sentinel
Ref : github.com/FZambia/sentinel

Jump to

Keyboard shortcuts

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