redis

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRedis added in v0.0.6

func NewRedis(config *store.Config) store.Store

Types

type Redis

type Redis struct {
	// contains filtered or unexported fields
}

func (*Redis) Close

func (e *Redis) Close()

func (*Redis) Connect added in v0.0.6

func (e *Redis) Connect(conf ...*store.Config)

func (*Redis) GetCluster added in v0.0.6

func (e *Redis) GetCluster(conf ...*store.Config) *redis.ClusterClient

集群client

func (*Redis) GetInstance

func (e *Redis) GetInstance(conf ...*store.Config) *redis.Client

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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