Documentation ¶
Index ¶
Constants ¶
View Source
const ( CRLF = "\r\n" EmptyBulkString = "$-1" + CRLF PING = "PING" )
View Source
const ( StringBegin = '+' ErrorBegin = '-' IntegerBegin = ':' BulkStringBegin = '$' ArrayBegin = '*' )
Variables ¶
This section is empty.
Functions ¶
func SendProtocolError ¶
Types ¶
type BulkString ¶
type BulkString struct {
Arg []byte
}
func MakeNullBulkReply ¶
func MakeNullBulkReply() *BulkString
func NewBulkString ¶
func NewBulkString(data []byte) *BulkString
func (*BulkString) Serialize ¶
func (bs *BulkString) Serialize() []byte
Click to show internal directories.
Click to hide internal directories.