aboutsummaryrefslogtreecommitdiff
path: root/protocol/pktline/type.go
diff options
context:
space:
mode:
Diffstat (limited to 'protocol/pktline/type.go')
-rw-r--r--protocol/pktline/type.go15
1 files changed, 0 insertions, 15 deletions
diff --git a/protocol/pktline/type.go b/protocol/pktline/type.go
deleted file mode 100644
index 641d1c6c..00000000
--- a/protocol/pktline/type.go
+++ /dev/null
@@ -1,15 +0,0 @@
-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
-)