From 311edcd50f3a84f4b860bde3cb887451d74eaa11 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Wed, 25 Mar 2026 16:22:03 +0000 Subject: network/protocol: Rename from protocol --- protocol/pktline/type.go | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 protocol/pktline/type.go (limited to 'protocol/pktline/type.go') 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 -) -- cgit v1.3.1-10-gc9f91