Documentation ¶
Index ¶
Constants ¶
View Source
const ( // OptionsFrame is a minimal OPTIONS CQL frame. // Ref: https://github.com/apache/cassandra/blob/f278f6774fc76465c182041e081982105c3e7dbb/doc/native_protocol_v4.spec OptionsFrame = `\x04\x00\x00\x00\x05\x00\x00\x00\x00` )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FrameParser ¶
type FrameParser struct {
// contains filtered or unexported fields
}
func NewFrameParser ¶
func NewFrameParser(buf *bytes.Buffer) *FrameParser
func (*FrameParser) ReadShort ¶
func (fp *FrameParser) ReadShort() uint16
func (*FrameParser) ReadString ¶
func (fp *FrameParser) ReadString() string
func (*FrameParser) ReadStringList ¶
func (fp *FrameParser) ReadStringList() []string
func (*FrameParser) ReadStringMultiMap ¶
func (fp *FrameParser) ReadStringMultiMap() map[string][]string
func (*FrameParser) SkipHeader ¶
func (fp *FrameParser) SkipHeader()
Click to show internal directories.
Click to hide internal directories.