支持UDP代理

This commit is contained in:
刘祥超
2021-06-07 15:43:21 +08:00
parent 2b1c65ce85
commit 0d5797f3ab

View File

@@ -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,
},**/
},
}
}