Versions in this module Expand all Collapse all v9 v9.0.6 Aug 19, 2022 Changes in this version + const Nil + const RespArray + const RespAttr + const RespBigInt + const RespBlobError + const RespBool + const RespError + const RespFloat + const RespInt + const RespMap + const RespNil + const RespPush + const RespSet + const RespStatus + const RespString + const RespVerbatim + func IsNilReply(line []byte) bool + func ParseErrorReply(line []byte) error + func Scan(b []byte, v interface{}) error + func ScanSlice(data []string, slice interface{}) error + type Reader struct + func NewReader(rd io.Reader) *Reader + func (r *Reader) Buffered() int + func (r *Reader) Discard(line []byte) (err error) + func (r *Reader) DiscardNext() error + func (r *Reader) Peek(n int) ([]byte, error) + func (r *Reader) PeekReplyType() (byte, error) + func (r *Reader) ReadArrayLen() (int, error) + func (r *Reader) ReadBool() (bool, error) + func (r *Reader) ReadFixedArrayLen(fixedLen int) error + func (r *Reader) ReadFixedMapLen(fixedLen int) error + func (r *Reader) ReadFloat() (float64, error) + func (r *Reader) ReadInt() (int64, error) + func (r *Reader) ReadLine() ([]byte, error) + func (r *Reader) ReadMapLen() (int, error) + func (r *Reader) ReadReply() (interface{}, error) + func (r *Reader) ReadSlice() ([]interface{}, error) + func (r *Reader) ReadString() (string, error) + func (r *Reader) Reset(rd io.Reader) + type RedisError string + func (RedisError) RedisError() + func (e RedisError) Error() string + type Writer struct + func NewWriter(wr writer) *Writer + func (w *Writer) WriteArg(v interface{}) error + func (w *Writer) WriteArgs(args []interface{}) error