Documentation ¶
Index ¶
- type Config
- type Redis
- func (r *Redis) Acquire(key string)
- func (r *Redis) Close()
- func (r *Redis) Del(k string) error
- func (r *Redis) Expire(key string, t time.Duration) error
- func (r *Redis) Get(k string) string
- func (r *Redis) HDel(key, field string) error
- func (r *Redis) HGet(key, field string) string
- func (r *Redis) HGetAll(key string) map[string]string
- func (r *Redis) HMGet(key string, fields ...string) []interface{}
- func (r *Redis) HMSet(key string, values ...string) error
- func (r *Redis) HMSetTTL(t time.Duration, k string, values ...interface{}) error
- func (r *Redis) HSet(key, field string, value interface{}) error
- func (r *Redis) HSetTTL(t time.Duration, key, field string, value interface{}) error
- func (r *Redis) Keys(key string) []string
- func (r *Redis) Release(key string)
- func (r *Redis) Set(key string, value interface{}, 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 ¶
type Redis ¶
type Redis struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.