Documentation ¶
Index ¶
- Constants
- type Client
- func (this *Client) BeginTrans()
- func (this *Client) Connect() error
- func (this *Client) Connected() bool
- func (this *Client) DiscardTrans() error
- func (this *Client) Do(cmd string, args ...interface{}) *Reply
- func (this *Client) ExecPipelining() ([]*Reply, []int)
- func (this *Client) ExecTrans() ([]*Reply, error)
- func (this *Client) Free()
- func (this *Client) Send(cmd string, args ...interface{})
- func (this *Client) SetCmdLogFmtFunc(clff CmdLogFmtFunc) *Client
- func (this *Client) SetLogger(logger golog.ILogger) *Client
- type CmdLogFmtFunc
- type Config
- type PConfig
- type Pool
- type Reply
- func (this *Reply) ArrReplyIsNil() bool
- func (this *Reply) Bool() (bool, error)
- func (this *Reply) ByteSlices() ([][]byte, error)
- func (this *Reply) Bytes() ([]byte, error)
- func (this *Reply) Float64() (float64, error)
- func (this *Reply) Int() (int, error)
- func (this *Reply) Int64() (int64, error)
- func (this *Reply) Int64Map() (map[string]int64, error)
- func (this *Reply) Ints() ([]int, error)
- func (this *Reply) SimpleReplyIsNil() bool
- func (this *Reply) String() (string, error)
- func (this *Reply) StringMap() (map[string]string, error)
- func (this *Reply) Strings() ([]string, error)
- func (this *Reply) Struct(s interface{}) error
- func (this *Reply) Uint64() (uint64, error)
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) BeginTrans ¶
func (this *Client) BeginTrans()
func (*Client) DiscardTrans ¶
func (*Client) ExecPipelining ¶
func (*Client) SetCmdLogFmtFunc ¶
func (this *Client) SetCmdLogFmtFunc(clff CmdLogFmtFunc) *Client
type CmdLogFmtFunc ¶
type Config ¶
type Reply ¶
type Reply struct { Err error // contains filtered or unexported fields }
func (*Reply) ArrReplyIsNil ¶
func (*Reply) ByteSlices ¶
func (*Reply) SimpleReplyIsNil ¶
Click to show internal directories.
Click to hide internal directories.