Documentation ¶
Index ¶
- type Config
- type Redis
- func (r *Redis) Del(k string) error
- func (r *Redis) Expire(k string, t time.Duration) error
- func (r *Redis) Get(k string) interface{}
- func (r *Redis) HDel(k, field string) error
- func (r *Redis) HGet(k, field string) string
- func (r *Redis) HGetAll(k string) map[string]string
- func (r *Redis) HSet(k, field string, value interface{}) error
- func (r *Redis) HSetTTL(k, field string, value interface{}, t time.Duration) error
- func (r *Redis) Keys(k string) []string
- func (r *Redis) Set(k, v string, t time.Duration) error
- func (r *Redis) Watch(ctx context.Context, key string) <-chan interface{}
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.