mirror of
https://github.com/bestnite/sub2clash.git
synced 2025-06-17 20:53:18 +08:00
feat: 添加 Anytls 代理支持
This commit is contained in:
@ -130,6 +130,9 @@ func ParseProxy(proxies ...string) []model.Proxy {
|
||||
if strings.HasPrefix(proxy, constant.SocksPrefix) {
|
||||
proxyItem, err = parser.ParseSocks(proxy)
|
||||
}
|
||||
if strings.HasPrefix(proxy, constant.AnytlsPrefix) {
|
||||
proxyItem, err = parser.ParseAnytls(proxy)
|
||||
}
|
||||
if err == nil {
|
||||
result = append(result, proxyItem)
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user