Documentation
¶
Index ¶
- type Config
- type Redis
- func (rdb Redis) Decrement(ctx context.Context, key string, val int64) error
- func (rdb Redis) Delete(ctx context.Context, key string) error
- func (rdb Redis) Expire(ctx context.Context, key string, exp time.Duration) error
- func (rdb Redis) GetBytes(ctx context.Context, key string) ([]byte, error)
- func (rdb Redis) GetInt(ctx context.Context, key string) (int, error)
- func (rdb Redis) GetUint(ctx context.Context, key string) (uint, error)
- func (rdb Redis) GobGet(ctx context.Context, key string, v any) error
- func (rdb Redis) GobSet(ctx context.Context, key string, v any, exp time.Duration) error
- func (rdb Redis) Increment(ctx context.Context, key string, val int64) error
- func (rdb Redis) Set(ctx context.Context, key string, val any, exp 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.