redis

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StorageIndexRedis = tingyun3.StorageIndexRedis
)

Variables

This section is empty.

Functions

func ClusterClient_processPipeline added in v0.8.5

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

func ClusterClient_processTxPipeline added in v0.8.5

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

func WrapClusterClient_processPipeline added in v0.8.5

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

func WrapClusterClient_processTxPipeline added in v0.8.5

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

func WrapbaseClientgeneralProcessPipeline added in v0.6.7

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 WrapredisNewClient added in v0.8.5

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

func WrapredisNewClusterClient added in v0.8.5

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

func WrapredisNewFailoverClient added in v1.2.0

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

func WrapredisNewFailoverClusterClient added in v1.2.0

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

Types

type ClusterClient added in v0.8.5

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

type Hooks added in v0.8.5

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

func (Hooks) AfterProcess added in v0.8.5

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

func (Hooks) AfterProcessPipeline added in v0.8.5

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

func (Hooks) BeforeProcess added in v0.8.5

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

func (Hooks) BeforeProcessPipeline added in v0.8.5

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

Jump to

Keyboard shortcuts

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