resp

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL