Documentation ¶
Index ¶
- type Redis
- func (r *Redis) Connect() (bool, error)
- func (r *Redis) Del(key string) (int64, error)
- func (r *Redis) Exists(key string) (bool, error)
- func (r *Redis) Get(key string) (string, error)
- func (r *Redis) HDel(key, field string) (int64, error)
- func (r *Redis) HExists(key, field string) (bool, error)
- func (r *Redis) HGet(key, field string) (string, error)
- func (r *Redis) HLen(key string) (int64, error)
- func (r *Redis) HScan(key string, cursor uint64, match string, count int64) *redis.ScanCmd
- func (r *Redis) HSet(key, field, value string) (bool, error)
- func (r *Redis) HTruncate(key string) (int64, error)
- func (r *Redis) Ping() (bool, error)
- func (r *Redis) Set(key, value string, expiration time.Duration) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Redis ¶
Redis driver
Click to show internal directories.
Click to hide internal directories.