Versions in this module Expand all Collapse all v1 v1.0.0 Nov 1, 2024 Changes in this version + type Client struct + func NewClient(opt *redis.Options, opts ...ClientOption) *Client + func WrapClient(c *redis.Client, opts ...ClientOption) *Client + func (c *Client) Pipeline() redis.Pipeliner + func (c *Client) Pipelined(fn func(redis.Pipeliner) error) ([]redis.Cmder, error) + func (c *Client) TxPipeline() redis.Pipeliner + func (c *Client) TxPipelined(fn func(redis.Pipeliner) error) ([]redis.Cmder, error) + func (c *Client) WithContext(ctx context.Context) *Client + type ClientOption func(*clientConfig) + func WithAnalytics(on bool) ClientOption + func WithAnalyticsRate(rate float64) ClientOption + func WithServiceName(name string) ClientOption + type Pipeliner struct + func (c *Pipeliner) Exec() ([]redis.Cmder, error) + func (c *Pipeliner) ExecWithContext(ctx context.Context) ([]redis.Cmder, error) + func (c *Pipeliner) Pipelined(fn func(redis.Pipeliner) error) ([]redis.Cmder, error)