Documentation ¶
Index ¶
- type RedisClient
- func (c *RedisClient) Del(ctx context.Context, key string) error
- func (c *RedisClient) Get(ctx context.Context, key string) (string, error)
- func (c *RedisClient) LLen(ctx context.Context, key string) (int64, error)
- func (c *RedisClient) LPush(ctx context.Context, key string, value string) error
- func (c *RedisClient) Ping(ctx context.Context) error
- func (c *RedisClient) RPop(ctx context.Context, key string) (string, error)
- func (c *RedisClient) Set(ctx context.Context, key string, value string, expiration time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.