Documentation
¶
Index ¶
- Constants
- func Encode(w io.Writer, v Value) (err error)
- func EncodeMulti(w io.Writer, vals ...Value) error
- func EncodeResp(w io.Writer, r *Resp) (err error)
- type Decoder
- type Resp
- type RespKind
- type Value
- func Bluk(p []byte) Value
- func BlukString(s string) Value
- func Error(err string) Value
- func Int(v int) Value
- func Int16(v int16) Value
- func Int32(v int32) Value
- func Int64(v int64) Value
- func Int8(v int8) Value
- func Null() Value
- func Simple(s string) Value
- func Uint(v uint) Value
- func Uint16(v uint16) Value
- func Uint32(v uint32) Value
- func Uint64(v uint64) Value
- func Uint8(v uint8) Value
Constants ¶
View Source
const ( SimpleKind RespKind = '+' ErrorKind = '-' IntegerKind = ':' BlukKind = '$' ArrayKind = '*' )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.