Documentation ¶ Index ¶ func Array(items ...[]byte) []byte func ArrayToStrings(v Value) ([]string, error) func Bulk(b []byte) []byte func Error(s string) []byte func Int(n int64) []byte func NullBulk() []byte func Simple(s string) []byte type Value func Read(r *bufio.Reader, maxBytes int64) (Value, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Array ¶ func Array(items ...[]byte) []byte func ArrayToStrings ¶ func ArrayToStrings(v Value) ([]string, error) func Bulk ¶ func Bulk(b []byte) []byte func Error ¶ func Error(s string) []byte func Int ¶ func Int(n int64) []byte func NullBulk ¶ func NullBulk() []byte func Simple ¶ func Simple(s string) []byte Types ¶ type Value ¶ type Value struct { Kind byte Str string Int int64 Array []Value } func Read ¶ func Read(r *bufio.Reader, maxBytes int64) (Value, error) Source Files ¶ View all Source files resp.go Click to show internal directories. Click to hide internal directories.