Versions in this module Expand all Collapse all v1 v1.2.10 Aug 26, 2024 Changes in this version + var CRLF = "\r\n" + func IsEmptyMultiBulkReply(reply redis.Reply) bool + func IsErrorReply(reply redis.Reply) bool + func IsOKReply(reply redis.Reply) bool + type ArgNumErrReply struct + Cmd string + func MakeArgNumErrReply(cmd string) *ArgNumErrReply + func (r *ArgNumErrReply) Error() string + func (r *ArgNumErrReply) ToBytes() []byte + type BulkReply struct + Arg []byte + func MakeBulkReply(arg []byte) *BulkReply + func (r *BulkReply) ToBytes() []byte + type EmptyMultiBulkReply struct + func MakeEmptyMultiBulkReply() *EmptyMultiBulkReply + func (r *EmptyMultiBulkReply) ToBytes() []byte + type ErrorReply interface + Error func() string + ToBytes func() []byte + type IntReply struct + Code int64 + func MakeIntReply(code int64) *IntReply + func (r *IntReply) ToBytes() []byte + type MultiBulkReply struct + Args [][]byte + func MakeMultiBulkReply(args [][]byte) *MultiBulkReply + func (r *MultiBulkReply) ToBytes() []byte + type MultiRawReply struct + Replies []redis.Reply + func MakeMultiRawReply(replies []redis.Reply) *MultiRawReply + func (r *MultiRawReply) ToBytes() []byte + type NoReply struct + func (r *NoReply) ToBytes() []byte + type NullBulkReply struct + func MakeNullBulkReply() *NullBulkReply + func (r *NullBulkReply) ToBytes() []byte + type OkReply struct + func MakeOkReply() *OkReply + func (r *OkReply) ToBytes() []byte + type PongReply struct + func (r *PongReply) ToBytes() []byte + type ProtocolErrReply struct + Msg string + func (r *ProtocolErrReply) Error() string + func (r *ProtocolErrReply) ToBytes() []byte + type QueuedReply struct + func MakeQueuedReply() *QueuedReply + func (r *QueuedReply) ToBytes() []byte + type StandardErrReply struct + Status string + func MakeErrReply(status string) *StandardErrReply + func (r *StandardErrReply) Error() string + func (r *StandardErrReply) ToBytes() []byte + type StatusReply struct + Status string + func MakeStatusReply(status string) *StatusReply + func (r *StatusReply) ToBytes() []byte + type SyntaxErrReply struct + func MakeSyntaxErrReply() *SyntaxErrReply + func (r *SyntaxErrReply) Error() string + func (r *SyntaxErrReply) ToBytes() []byte + type UnknownErrReply struct + func (r *UnknownErrReply) Error() string + func (r *UnknownErrReply) ToBytes() []byte + type WrongTypeErrReply struct + func (r *WrongTypeErrReply) Error() string + func (r *WrongTypeErrReply) ToBytes() []byte