Versions in this module Expand all Collapse all v1 v1.4.0 Apr 19, 2026 Changes in this version + const MaxArrayLen + const MaxBulkLen + var ErrIncomplete = errors.New("celeris-redis-protocol: incomplete frame") + var ErrProtocol = errors.New("celeris-redis-protocol: protocol error") + var ErrProtocolOversizedArray = errors.New("celeris-redis-protocol: aggregate length exceeds maximum") + var ErrProtocolOversizedBulk = errors.New("celeris-redis-protocol: bulk length exceeds maximum") + func ClearPooledFlags(v *Value) + type KV struct + K Value + V Value + type Reader struct + func NewReader() *Reader + func (r *Reader) Compact() + func (r *Reader) Feed(data []byte) + func (r *Reader) Next() (Value, error) + func (r *Reader) Release(v Value) + func (r *Reader) Reset() + type Type uint8 + const TyArray + const TyAttr + const TyBigInt + const TyBlobErr + const TyBool + const TyBulk + const TyDouble + const TyError + const TyInt + const TyMap + const TyNull + const TyPush + const TySet + const TySimple + const TyVerbatim + func (t Type) String() string + type Value struct + Array []Value + BigN []byte + Bool bool + Float float64 + Int int64 + Map []KV + Str []byte + Type Type + type Writer struct + func NewWriter() *Writer + func NewWriterSize(size int) *Writer + func (w *Writer) AppendCommand(args ...string) []byte + func (w *Writer) AppendCommand1(a0 string) []byte + func (w *Writer) AppendCommand2(a0, a1 string) []byte + func (w *Writer) AppendCommand3(a0, a1, a2 string) []byte + func (w *Writer) AppendCommand4(a0, a1, a2, a3 string) []byte + func (w *Writer) AppendCommand5(a0, a1, a2, a3, a4 string) []byte + func (w *Writer) AppendCommandBytes(args [][]byte) []byte + func (w *Writer) Bytes() []byte + func (w *Writer) Grow(n int) + func (w *Writer) Reset() + func (w *Writer) WriteCommand(args ...string) []byte + func (w *Writer) WriteCommandBytes(args [][]byte) []byte