增加socks5协议支持

This commit is contained in:
96368a
2024-11-13 09:21:31 +08:00
parent 66f214ae10
commit fefb4b895a
6 changed files with 87 additions and 0 deletions

View File

@ -14,6 +14,7 @@ func GetSupportProxyTypes(clashType ClashType) map[string]bool {
"ssr": true,
"vmess": true,
"trojan": true,
"socks5": true,
}
}
if clashType == ClashMeta {
@ -25,6 +26,7 @@ func GetSupportProxyTypes(clashType ClashType) map[string]bool {
"vless": true,
"hysteria": true,
"hysteria2": true,
"socks5": true,
}
}
return nil