Documentation ¶
Index ¶
- Constants
- type Client
- func (self *Client) Close() error
- func (c *Client) Del(key string) (_ interface{}, rErr error)
- func (c *Client) Do(args ...interface{}) (_ []string, rErr error)
- func (c *Client) Get(key string) (_ interface{}, rErr error)
- func (c *Client) HGet(key string, subKey string, obj interface{}) (rErr error)
- func (c *Client) HGetMap(key string, mp map[string]interface{}) (rErr error)
- func (c *Client) HGetMapAll(key string, mp interface{}) (rErr error)
- func (c *Client) HGetStruct(key string, objPtr interface{}) (rErr error)
- func (c *Client) HSet(key string, subKey string, obj interface{}) (rErr error)
- func (c *Client) HSetMap(key string, mp map[string]interface{}) (rErr error)
- func (c *Client) HSetStruct(key string, obj interface{}) (rErr error)
- func (c *Client) Set(key string, val string) (_ interface{}, rErr error)
- type Pool
Constants ¶
View Source
const ( OK = "ok" NOT_FOUND = "not_found" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) HGetMapAll ¶
func (*Client) HGetStruct ¶
func (*Client) HSetStruct ¶
Click to show internal directories.
Click to hide internal directories.