mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-06 14:50:24 +08:00
支持UDP代理
This commit is contained in:
@@ -12,7 +12,7 @@ const (
|
|||||||
ServerTypeHTTPWeb ServerType = "httpWeb"
|
ServerTypeHTTPWeb ServerType = "httpWeb"
|
||||||
ServerTypeTCPProxy ServerType = "tcpProxy"
|
ServerTypeTCPProxy ServerType = "tcpProxy"
|
||||||
ServerTypeUnixProxy ServerType = "unixProxy"
|
ServerTypeUnixProxy ServerType = "unixProxy"
|
||||||
ServerTypeUDPProxy ServerType = "udp"
|
ServerTypeUDPProxy ServerType = "udpProxy"
|
||||||
)
|
)
|
||||||
|
|
||||||
// AllServerTypes 获取所有的服务类型
|
// AllServerTypes 获取所有的服务类型
|
||||||
@@ -36,11 +36,11 @@ func AllServerTypes() []maps.Map {
|
|||||||
/**{
|
/**{
|
||||||
"name": "UNIX协议反向代理",
|
"name": "UNIX协议反向代理",
|
||||||
"code": ServerTypeUnixProxy,
|
"code": ServerTypeUnixProxy,
|
||||||
},
|
},**/
|
||||||
{
|
{
|
||||||
"name": "UDP反向代理",
|
"name": "UDP反向代理",
|
||||||
"code": ServerTypeUDPProxy,
|
"code": ServerTypeUDPProxy,
|
||||||
},**/
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user