Skip to content

Commit 0d5797f

Browse files
committed
支持UDP代理
1 parent 2b1c65c commit 0d5797f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/serverconfigs/server_types.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const (
1212
ServerTypeHTTPWeb ServerType = "httpWeb"
1313
ServerTypeTCPProxy ServerType = "tcpProxy"
1414
ServerTypeUnixProxy ServerType = "unixProxy"
15-
ServerTypeUDPProxy ServerType = "udp"
15+
ServerTypeUDPProxy ServerType = "udpProxy"
1616
)
1717

1818
// AllServerTypes 获取所有的服务类型
@@ -36,11 +36,11 @@ func AllServerTypes() []maps.Map {
3636
/**{
3737
"name": "UNIX协议反向代理",
3838
"code": ServerTypeUnixProxy,
39-
},
39+
},**/
4040
{
4141
"name": "UDP反向代理",
4242
"code": ServerTypeUDPProxy,
43-
},**/
43+
},
4444
}
4545
}
4646

0 commit comments

Comments
 (0)