Versions in this module Expand all Collapse all v1 v1.0.25 Dec 22, 2023 Changes in this version + const PlaceholderPrefix + type CacheAsideClient interface + Client func() rueidis.Client + Close func() + Del func(ctx context.Context, key string) error + Get func(ctx context.Context, ttl time.Duration, key string, ...) (val string, err error) + func NewClient(option ClientOption) (cc CacheAsideClient, err error) + type Client struct + func (c *Client) Client() rueidis.Client + func (c *Client) Close() + func (c *Client) Del(ctx context.Context, key string) error + func (c *Client) Get(ctx context.Context, ttl time.Duration, key string, ...) (string, error) + type ClientOption struct + ClientBuilder func(option rueidis.ClientOption) (rueidis.Client, error) + ClientOption rueidis.ClientOption + ClientTTL time.Duration