Documentation
¶
Index ¶
- Constants
- func ParseErrorReply(line []byte) error
- type MultiBulkParse
- type Reader
- func (r *Reader) ReadArrayLenReply() (int, error)
- func (r *Reader) ReadBytesReply() ([]byte, error)
- func (r *Reader) ReadFloat() (float64, error)
- func (r *Reader) ReadInt() (int64, error)
- func (r *Reader) ReadIntReply() (int64, error)
- func (r *Reader) ReadStatusReply() (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) ReadArrayLenReply ¶
func (*Reader) ReadBytesReply ¶
func (*Reader) ReadIntReply ¶
func (*Reader) ReadStatusReply ¶
type RedisError ¶
type RedisError string
func (RedisError) Error ¶
func (e RedisError) Error() string
Click to show internal directories.
Click to hide internal directories.