sentinel

package
v0.0.0-...-8c355a7 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(optFuncs ...OptFunc) mode.IMode

Types

type OptFunc

type OptFunc func(opts *options)

func Addrs

func Addrs(value []string) OptFunc

func DialOpts

func DialOpts(value ...redis.DialOption) OptFunc

func MasterName

func MasterName(value string) OptFunc

func PoolOpts

func PoolOpts(value ...mode.PoolOption) OptFunc

func SentinelDialOpts

func SentinelDialOpts(value ...redis.DialOption) OptFunc

Jump to

Keyboard shortcuts

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