Documentation
¶
Index ¶
- type Client
- func (c *Client) Del(ctx context.Context, keys ...string) error
- func (c *Client) Get(ctx context.Context, key string) (string, error)
- func (c *Client) Ping(ctx context.Context) error
- func (c *Client) RawClient() redis.UniversalClient
- func (c *Client) Set(ctx context.Context, key string, value any, expiration time.Duration) error
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wraps the go-redis/v9 UniversalClient.
func (*Client) RawClient ¶
func (c *Client) RawClient() redis.UniversalClient
RawClient returns the underlying universal client for advanced usage.
Click to show internal directories.
Click to hide internal directories.