Documentation ¶
Index ¶
- type Redis
- func (r *Redis) Del(ctx context.Context, key string) error
- func (r *Redis) Get(ctx context.Context, key string) (string, error)
- func (r *Redis) GetDel(ctx context.Context, key string) (string, error)
- func (r *Redis) PTTL(ctx context.Context, key string) (time.Duration, error)
- func (r *Redis) Set(ctx context.Context, key string, value interface{}, 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.