Versions in this module Expand all Collapse all v1 v1.1.0 May 5, 2026 v1.0.0 May 3, 2026 Changes in this version + var ErrInvalidType = errors.New("invalid type provided") + type Client struct + func New(conf appconf.Redis) (*Client, error) + func (c *Client) Delete(ctx context.Context, key string) error + func (c *Client) DeleteByMatch(ctx context.Context, pattern string) error + func (c *Client) Get(ctx context.Context, key string) (string, error) + func (c *Client) GetStruct(ctx context.Context, key string, value any) error + func (c *Client) Set(ctx context.Context, key, value string, ttl time.Duration) error + func (c *Client) SetStruct(ctx context.Context, key string, value any, ttl time.Duration) error