Documentation ¶
Index ¶
- func Del(key string) (int, error)
- func Get(key string) (string, error)
- func HDel(key, field string) error
- func HGet(key string, field interface{}) (interface{}, error)
- func HGetAll(key string) ([][]byte, error)
- func HGetBytes(key string, field interface{}) ([]byte, error)
- func HGetString(key string, field interface{}) (string, error)
- func HGetStringMap(key string, field interface{}) (map[string]string, error)
- func HMSet(args ...interface{}) (interface{}, error)
- func HSet(key string, field, value interface{}) (interface{}, error)
- func HSetExpire(key string, expire int) (interface{}, error)
- func Set(args ...interface{}) (interface{}, error)
- func SetLock(args ...interface{}) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HGetString ¶
func HMSet ¶
func HMSet(args ...interface{}) (interface{}, error)
* hash批量存值, * args (key,field,value,field,value,field,value...) 域,名,值,名,值,名,值 ... * 2020/06/06
func HSetExpire ¶
* hash存值, * key 域 * expire 过期时长 * 2020/06/06
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.