Documentation
¶
Index ¶
- type Client
- func (client *Client) Delete(key string) error
- func (client *Client) DeleteHashKey(hashKey string, keys ...string) error
- func (client *Client) Expire(key string, expiration time.Duration)
- func (client *Client) GetHashInt64(hashKey string, key string) (ret int64, err error)
- func (client *Client) GetHashString(hashKey, key string) (ret string, err error)
- func (client *Client) GetString(key string) (value string, err error)
- func (client *Client) SetHash(hashKey, key string, value interface{}) (err error)
- func (client *Client) SetString(key string, value interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
RedisClient *redis.Client
}
func (*Client) DeleteHashKey ¶
* 删除 hash key 删除其中的key
func (*Client) GetHashInt64 ¶
* hash key in key get value (int64)
func (*Client) GetHashString ¶
** hash key in key get value (string)
Click to show internal directories.
Click to hide internal directories.