aboutsummaryrefslogtreecommitdiff
path: root/protocol/pktline/type.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-25 16:22:03 +0000
committerGravatar Runxi Yu2026-03-25 16:22:03 +0000
commit311edcd50f3a84f4b860bde3cb887451d74eaa11 (patch)
treebe7aa5e9a51e636358f33b1c90637b5024b70dc3 /protocol/pktline/type.go
parentREADME: Split off contrib, benchmarks, remove history for now I guess, etc. (diff)
signatureNo signature
network/protocol: Rename from protocol v0.1.110
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
-)