Documentation ¶
Index ¶
- Variables
- type Redis
- func (r *Redis) Delete(ctx context.Context, key string) error
- func (r *Redis) Get(ctx context.Context, key string, receiver interface{}) error
- func (r *Redis) IsAvailable(ctx context.Context) bool
- func (r *Redis) Reconnect(ctx context.Context, host string) error
- func (r *Redis) Set(ctx context.Context, key string, value interface{}, expiration time.Duration) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrKeyNotFound = errors.New("key not found")
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.