Versions in this module Expand all Collapse all v1 v1.0.1 Sep 9, 2020 v1.0.0 Dec 1, 2014 Changes in this version + var LoadingError error = errors.New("server is busy loading dataset in memory") + var PipelineQueueEmptyError error = errors.New("pipeline queue empty") + type Client struct + Conn net.Conn + func Dial(network, addr string) (*Client, error) + func DialTimeout(network, addr string, timeout time.Duration) (*Client, error) + func (c *Client) Append(cmd string, args ...interface{}) + func (c *Client) Close() error + func (c *Client) Cmd(cmd string, args ...interface{}) *Reply + func (c *Client) GetReply() *Reply + func (c *Client) ReadReply() *Reply + type CmdError struct + Err error + func (cerr *CmdError) Error() string + type Reply struct + Elems []*Reply + Err error + Type ReplyType + func (r *Reply) Bool() (bool, error) + func (r *Reply) Bytes() ([]byte, error) + func (r *Reply) Hash() (map[string]string, error) + func (r *Reply) Int() (int, error) + func (r *Reply) Int64() (int64, error) + func (r *Reply) List() ([]string, error) + func (r *Reply) ListBytes() ([][]byte, error) + func (r *Reply) Str() (string, error) + func (r *Reply) String() string + type ReplyType uint8 + const BulkReply + const ErrorReply + const IntegerReply + const MultiReply + const NilReply + const StatusReply