Documentation ¶
Index ¶
- func Close()
- func Delete(key string) error
- func Exists(key string) (bool, error)
- func Get(key string) ([]byte, error)
- func HDelete(name, key string) error
- func HExists(name, key string) (bool, error)
- func HGet(name, key string) ([]byte, error)
- func HGetall(name string) ([][]byte, error)
- func HKeys(name string) ([]string, error)
- func HSet(name, key string, data interface{}) error
- func HVals(name string) ([][]byte, error)
- func Init(host, auth string, db, maxActive, maxIdle, idleTimeout int) error
- func Keys(key string) ([]string, error)
- func Set(key string, data interface{}) error
- type Redis
- func (r *Redis) Close()
- func (r *Redis) Delete(key string) error
- func (r *Redis) Exists(key string) (bool, error)
- func (r *Redis) Get(key string) ([]byte, error)
- func (r *Redis) HDelete(name, key string) error
- func (r *Redis) HExists(name, key string) (bool, error)
- func (r *Redis) HGet(name, key string) ([]byte, error)
- func (r *Redis) HGetall(name string) ([][]byte, error)
- func (r *Redis) HGetallToMap(key string) (map[string]string, error)
- func (r *Redis) HKeys(name string) ([]string, error)
- func (r *Redis) HSet(name, key string, data interface{}) (err error)
- func (r *Redis) HVals(name string) ([][]byte, error)
- func (r *Redis) Keys(key string) ([]string, error)
- func (r *Redis) Set(key string, data interface{}) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.