blob: 641d1c6c1ba61d223126d6f69b333480d9d75ea0 (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package pktline
// PacketType identifies the kind of pkt-line frame.
type PacketType uint8
const (
// PacketData is a regular data frame whose payload is application-defined.
PacketData PacketType = iota
// PacketFlush is control frame 0000 and marks end of a message.
PacketFlush
// PacketDelim is control frame 0001 and separates sections in protocol v2.
PacketDelim
// PacketResponseEnd is control frame 0002 and marks response end on stateless v2 transports.
PacketResponseEnd
)
|