goredis_sentinel

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MySentinel *redis.Client

Functions

func RedisInit

func RedisInit(rc *RedisConf) (*redis.Client, error)

Types

type RedisConf

type RedisConf struct {
	Password   string
	DB         int
	TimeOut    int
	Pool       int
	MasterName string
	Sentinels  []string
}
var MyRedisConf *RedisConf

Jump to

Keyboard shortcuts

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