From bd467a219bc879415b2d93129fbad6990a59927f Mon Sep 17 00:00:00 2001 From: boyce <6549168@qq.com> Date: Fri, 28 Mar 2025 10:33:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=9F=E5=BC=83=E6=8E=89HttpService=E3=80=81?= =?UTF-8?q?TcpService=E3=80=81WSService?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sysservice/httpservice/httpservice.go | 1 + sysservice/tcpservice/tcpservice.go | 1 + sysservice/wsservice/wsservice.go | 1 + 3 files changed, 3 insertions(+) diff --git a/sysservice/httpservice/httpservice.go b/sysservice/httpservice/httpservice.go index 0f2c8ab..bccbdc1 100644 --- a/sysservice/httpservice/httpservice.go +++ b/sysservice/httpservice/httpservice.go @@ -83,6 +83,7 @@ type HttpSession struct { sessionDone chan *HttpSession } +// Deprecated: replace it with the GinModule type HttpService struct { service.Service diff --git a/sysservice/tcpservice/tcpservice.go b/sysservice/tcpservice/tcpservice.go index bcdf0c5..b904b8d 100644 --- a/sysservice/tcpservice/tcpservice.go +++ b/sysservice/tcpservice/tcpservice.go @@ -14,6 +14,7 @@ import ( "time" ) +// Deprecated: replace it with the TcpModule type TcpService struct { tcpServer network.TCPServer service.Service diff --git a/sysservice/wsservice/wsservice.go b/sysservice/wsservice/wsservice.go index 7f3c7e3..cf03483 100644 --- a/sysservice/wsservice/wsservice.go +++ b/sysservice/wsservice/wsservice.go @@ -12,6 +12,7 @@ import ( "sync" ) +// Deprecated: replace it with the WSModule type WSService struct { service.Service wsServer network.WSServer