Documentation ¶
Index ¶
- Constants
- func ClusterClient_processPipeline(c *ClusterClient, ctx context.Context, cmds []redis.Cmder) error
- func ClusterClient_processTxPipeline(c *ClusterClient, ctx context.Context, cmds []redis.Cmder) error
- func WrapClusterClient_processPipeline(c *ClusterClient, ctx context.Context, cmds []redis.Cmder) error
- func WrapClusterClient_processTxPipeline(c *ClusterClient, ctx context.Context, cmds []redis.Cmder) error
- func WrapbaseClientProcess(c *baseClient, cmd redis.Cmder) error
- 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) error
- func WrapredisClientWrapProcess(c *redis.Client, fn func(func(redis.Cmder) error) func(redis.Cmder) error)
- func WrapredisClientWrapProcessPipeline(c *redis.Client, ...)
- func WrapredisClusterClientWrapProcess(c *redis.ClusterClient, ...)
- func WrapredisClusterClientWrapProcessPipeline(c *redis.ClusterClient, ...)
- func WrapredisNewClient(opt *redis.Options) *redis.Client
- func WrapredisNewClusterClient(opt *redis.ClusterOptions) *redis.ClusterClient
- type ClusterClient
- type Hooks
- func (h Hooks) AfterProcess(ctx context.Context, cmd redis.Cmder) error
- func (h Hooks) AfterProcessPipeline(ctx context.Context, cmds []redis.Cmder) error
- func (h Hooks) BeforeProcess(ctx context.Context, cmd redis.Cmder) (context.Context, error)
- func (h Hooks) BeforeProcessPipeline(ctx context.Context, cmds []redis.Cmder) (context.Context, error)
Constants ¶
View Source
const (
StorageIndexRedis = tingyun3.StorageIndexRedis
)
Variables ¶
This section is empty.
Functions ¶
func WrapbaseClientProcess ¶
func WrapbaseClientprocess ¶
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 (Hooks) AfterProcessPipeline ¶ added in v0.1.1
func (Hooks) BeforeProcess ¶ added in v0.1.1
Click to show internal directories.
Click to hide internal directories.