From 429cb2937c071d7ed8c9733b6d8bbacaf0cb4264 Mon Sep 17 00:00:00 2001 From: xhe Date: Fri, 1 Dec 2023 17:00:36 +0800 Subject: [PATCH] remove unused Signed-off-by: xhe --- pkg/proxy/net/packetio.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pkg/proxy/net/packetio.go b/pkg/proxy/net/packetio.go index f61db2ba..14b2bbab 100644 --- a/pkg/proxy/net/packetio.go +++ b/pkg/proxy/net/packetio.go @@ -42,14 +42,6 @@ const ( DefaultConnBufferSize = 32 * 1024 ) -type rwStatus int - -const ( - rwNone rwStatus = iota - rwRead - rwWrite -) - // packetReadWriter acts like a net.Conn with read and write buffer. type packetReadWriter interface { net.Conn