Documentation ¶
Index ¶
- Constants
- func WrapbaseClientgeneralProcessPipeline(c *baseClient, ctx context.Context, cmds []redis.Cmder, p pipelineProcessor) error
- func WrapbaseClientprocess(c *baseClient, ctx context.Context, cmd redis.Cmder) error
- func WrapbaseClientprocessPipeline(c *baseClient, ctx context.Context, cmds []redis.Cmder, p pipelineProcessor) error
- func WrapredisNewClient(opt *redis.Options) *redis.Client
- func WrapredisNewClusterClient(opt *redis.ClusterOptions) *redis.ClusterClient
- func WrapredisNewFailoverClient(failoverOpt *redis.FailoverOptions) *redis.Client
- func WrapredisNewFailoverClusterClient(failoverOpt *redis.FailoverOptions) *redis.ClusterClient
- type Hooks
Constants ¶
View Source
const (
StorageIndexRedis = tingyun3.StorageIndexRedis
)
Variables ¶
This section is empty.
Functions ¶
func WrapbaseClientprocess ¶
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) ProcessHook ¶
func (h Hooks) ProcessHook(next redis.ProcessHook) redis.ProcessHook
func (Hooks) ProcessPipelineHook ¶
func (h Hooks) ProcessPipelineHook(next redis.ProcessPipelineHook) redis.ProcessPipelineHook
Click to show internal directories.
Click to hide internal directories.