Documentation ¶
Index ¶
- type Client
- func (r *Client) Bool(reply interface{}, err error) (bool, error)
- func (r *Client) Bytes(reply interface{}, err error) ([]byte, error)
- func (r *Client) Execute(cmd string, args ...interface{}) (interface{}, error)
- func (r *Client) Float64(reply interface{}, err error) (float64, error)
- func (r *Client) Flush() error
- func (r *Client) Get(args ...interface{}) (interface{}, error)
- func (r *Client) Int(reply interface{}, err error) (int, error)
- func (r *Client) Int64(reply interface{}, err error) (int64, error)
- func (r *Client) ReleaseOneRedisClient()
- func (r *Client) Set(args ...interface{}) (interface{}, error)
- func (r *Client) String(reply interface{}, err error) (string, error)
- func (r *Client) Strings(reply interface{}, err error) ([]string, error)
- func (r *Client) Uint64(reply interface{}, err error) (uint64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client 定义一个redis客户端结构体
func (*Client) ReleaseOneRedisClient ¶
func (r *Client) ReleaseOneRedisClient()
ReleaseOneRedisClient 释放连接到连接池
Click to show internal directories.
Click to hide internal directories.