From 0d5797f3abb4d5ec2ba83c0c7a3c44245e8545de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Mon, 7 Jun 2021 15:43:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81UDP=E4=BB=A3=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/serverconfigs/server_types.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/serverconfigs/server_types.go b/pkg/serverconfigs/server_types.go index 1fadc15..51ca305 100644 --- a/pkg/serverconfigs/server_types.go +++ b/pkg/serverconfigs/server_types.go @@ -12,7 +12,7 @@ const ( ServerTypeHTTPWeb ServerType = "httpWeb" ServerTypeTCPProxy ServerType = "tcpProxy" ServerTypeUnixProxy ServerType = "unixProxy" - ServerTypeUDPProxy ServerType = "udp" + ServerTypeUDPProxy ServerType = "udpProxy" ) // AllServerTypes 获取所有的服务类型 @@ -36,11 +36,11 @@ func AllServerTypes() []maps.Map { /**{ "name": "UNIX协议反向代理", "code": ServerTypeUnixProxy, - }, + },**/ { "name": "UDP反向代理", "code": ServerTypeUDPProxy, - },**/ + }, } }