redisv9

package
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StorageIndexRedis = tingyun3.StorageIndexRedis
)

Variables

This section is empty.

Functions

func WrapbaseClientgeneralProcessPipeline

func WrapbaseClientgeneralProcessPipeline(c *baseClient, ctx context.Context, cmds []redis.Cmder, p pipelineProcessor) error

func WrapbaseClientprocess

func WrapbaseClientprocess(c *baseClient, ctx context.Context, cmd redis.Cmder) error

func WrapbaseClientprocessPipeline

func WrapbaseClientprocessPipeline(c *baseClient, ctx context.Context, cmds []redis.Cmder, p pipelineProcessor) error

func WrapredisNewClient

func WrapredisNewClient(opt *redis.Options) *redis.Client

func WrapredisNewClusterClient

func WrapredisNewClusterClient(opt *redis.ClusterOptions) *redis.ClusterClient

func WrapredisNewFailoverClient

func WrapredisNewFailoverClient(failoverOpt *redis.FailoverOptions) *redis.Client

func WrapredisNewFailoverClusterClient

func WrapredisNewFailoverClusterClient(failoverOpt *redis.FailoverOptions) *redis.ClusterClient

Types

type Hooks

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

func (Hooks) DialHook

func (h Hooks) DialHook(next redis.DialHook) redis.DialHook

func (Hooks) ProcessHook

func (h Hooks) ProcessHook(next redis.ProcessHook) redis.ProcessHook

func (Hooks) ProcessPipelineHook

func (h Hooks) ProcessPipelineHook(next redis.ProcessPipelineHook) redis.ProcessPipelineHook

Jump to

Keyboard shortcuts

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