Documentation ¶
Index ¶
- type Client
- func (c *Client) Close() error
- func (c *Client) Del(ctx context.Context, keys ...string) *redis.IntCmd
- func (c *Client) Get(ctx context.Context, key string) *redis.StringCmd
- func (c *Client) Incr(ctx context.Context, key string) *redis.IntCmd
- func (c *Client) Ping(ctx context.Context) *redis.StatusCmd
- func (c *Client) Set(ctx context.Context, key string, value any, ttl time.Duration) *redis.StatusCmd
- func (c *Client) SetNX(ctx context.Context, key string, value any, ttl time.Duration) *redis.BoolCmd
- func (c *Client) SetXX(ctx context.Context, key string, value any, ttl time.Duration) *redis.BoolCmd
- type Logger
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 for zap.
Click to show internal directories.
Click to hide internal directories.