Documentation ¶
Index ¶
- Constants
- func ParseErrorReply(line []byte) error
- func Scan(b []byte, v interface{}) error
- func ScanSlice(data []string, slice interface{}) error
- type MultiBulkParse
- type Reader
- func (r *Reader) Buffered() int
- func (r *Reader) Peek(n int) ([]byte, error)
- func (r *Reader) ReadArrayLen() (int64, error)
- func (r *Reader) ReadArrayReply(m MultiBulkParse) (interface{}, error)
- func (r *Reader) ReadFloatReply() (float64, error)
- func (r *Reader) ReadInt() (int64, error)
- func (r *Reader) ReadIntReply() (int64, error)
- func (r *Reader) ReadLine() ([]byte, error)
- func (r *Reader) ReadReply(m MultiBulkParse) (interface{}, error)
- func (r *Reader) ReadScanReply() ([]string, uint64, error)
- func (r *Reader) ReadString() (string, error)
- func (r *Reader) ReadUint() (uint64, error)
- func (r *Reader) Reset(rd io.Reader)
- type RedisError
- type Writer
Constants ¶
View Source
const ( ErrorReply = '-' StatusReply = '+' IntReply = ':' StringReply = '$' ArrayReply = '*' )
View Source
const Nil = RedisError("redis: nil")
Variables ¶
This section is empty.
Functions ¶
func ParseErrorReply ¶
Types ¶
type MultiBulkParse ¶
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
func (*Reader) ReadArrayLen ¶
func (*Reader) ReadArrayReply ¶
func (r *Reader) ReadArrayReply(m MultiBulkParse) (interface{}, error)
func (*Reader) ReadFloatReply ¶
func (*Reader) ReadIntReply ¶
func (*Reader) ReadReply ¶
func (r *Reader) ReadReply(m MultiBulkParse) (interface{}, error)
func (*Reader) ReadString ¶
type RedisError ¶
type RedisError string
func (RedisError) Error ¶
func (e RedisError) Error() string
Click to show internal directories.
Click to hide internal directories.