Documentation
¶
Overview ¶
Package resp is an umbrella package which covers both the old RESP protocol (resp2) and the new one (resp3), allowing clients to choose which one they care to use
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LenReader ¶
LenReader adds an additional method to io.Reader, returning how many bytes are left till be read until an io.EOF is reached.
type Marshaler ¶
Marshaler is the interface implemented by types that can marshal themselves into valid RESP.
type Unmarshaler ¶
Unmarshaler is the interface implemented by types that can unmarshal a RESP description of themselves.
Note that, unlike Marshaler, Unmarshaler _must_ take in a *bufio.Reader.
Click to show internal directories.
Click to hide internal directories.