Versions in this module Expand all Collapse all v0 v0.0.1 Aug 10, 2022 v0.0.0 Aug 7, 2022 Changes in this version + var ErrKeyNotFound = errors.New("key not found") + type Redis struct + func NewClient(ctx context.Context, url string) (*Redis, error) + 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