redis

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StorageIndexRedis = tingyun3.StorageIndexRedis
)

Variables

This section is empty.

Functions

func ClusterClient_processPipeline

func ClusterClient_processPipeline(c *ClusterClient, ctx context.Context, cmds []redis.Cmder) error

func ClusterClient_processTxPipeline

func ClusterClient_processTxPipeline(c *ClusterClient, ctx context.Context, cmds []redis.Cmder) error

func WrapClusterClient_processPipeline

func WrapClusterClient_processPipeline(c *ClusterClient, ctx context.Context, cmds []redis.Cmder) error

func WrapClusterClient_processTxPipeline

func WrapClusterClient_processTxPipeline(c *ClusterClient, ctx context.Context, cmds []redis.Cmder) error

func WrapbaseClientProcess

func WrapbaseClientProcess(c *baseClient, cmd redis.Cmder) error

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) error

func WrapredisClientWrapProcess

func WrapredisClientWrapProcess(c *redis.Client, fn func(func(redis.Cmder) error) func(redis.Cmder) error)

func WrapredisClientWrapProcessPipeline

func WrapredisClientWrapProcessPipeline(c *redis.Client, fn func(oldProcess func([]redis.Cmder) error) func([]redis.Cmder) error)

func WrapredisClusterClientWrapProcess

func WrapredisClusterClientWrapProcess(c *redis.ClusterClient, fn func(func(redis.Cmder) error) func(redis.Cmder) error)

func WrapredisClusterClientWrapProcessPipeline

func WrapredisClusterClientWrapProcessPipeline(c *redis.ClusterClient, fn func(oldProcess func([]redis.Cmder) error) func([]redis.Cmder) error)

func WrapredisNewClient

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

func WrapredisNewClusterClient

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

Types

type ClusterClient

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

type Hooks added in v0.1.1

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

func (Hooks) AfterProcess added in v0.1.1

func (h Hooks) AfterProcess(ctx context.Context, cmd redis.Cmder) error

func (Hooks) AfterProcessPipeline added in v0.1.1

func (h Hooks) AfterProcessPipeline(ctx context.Context, cmds []redis.Cmder) error

func (Hooks) BeforeProcess added in v0.1.1

func (h Hooks) BeforeProcess(ctx context.Context, cmd redis.Cmder) (context.Context, error)

func (Hooks) BeforeProcessPipeline added in v0.1.1

func (h Hooks) BeforeProcessPipeline(ctx context.Context, cmds []redis.Cmder) (context.Context, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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