redis

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 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 WrapbaseClientProcess

func WrapbaseClientProcess(c *baseClient, cmd 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

func WrapredisNewFailoverClient added in v1.2.0

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

func WrapredisSentinelClientWrapProcess added in v1.2.0

func WrapredisSentinelClientWrapProcess(c *redis.SentinelClient, fn func(func(redis.Cmder) error) func(redis.Cmder) error)

func WrapredisSentinelClientWrapProcessPipeline added in v1.2.0

func WrapredisSentinelClientWrapProcessPipeline(c *redis.SentinelClient, fn func(oldProcess func([]redis.Cmder) error) func([]redis.Cmder) error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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