Documentation ¶
Index ¶
Constants ¶
View Source
const ( //SimpleString const SimpleString = '+' //BulkString const BulkString = '$' //Integer const Integer = ':' //Array const Array = '*' //Error const Error = '-' )
Variables ¶
View Source
var ( //ErrInvalidSyntax error ErrInvalidSyntax = errors.New("resp: invalid syntax") )
Functions ¶
This section is empty.
Types ¶
type RESPReader ¶
RESPReader reader
func (*RESPReader) ReadObject ¶
func (r *RESPReader) ReadObject() ([]byte, error)
ReadObject read buffer with resp structure
Click to show internal directories.
Click to hide internal directories.