1
0
mirror of https://github.com/bestnite/sub2sing-box.git synced 2026-06-09 00:12:27 +00:00
This commit is contained in:
2024-03-11 12:53:58 +08:00
parent a6a4d63545
commit 80994b835c
4 changed files with 124 additions and 37 deletions
+4
View File
@@ -50,6 +50,10 @@ func ParseShadowsocks(proxy string) (model.Proxy, error) {
method := credentials[0]
password := credentials[1]
server := strings.TrimSpace(serverAndPort[0])
// params, err := url.ParseQuery(proxy)
// if err != nil {
// return model.Proxy{}, err
// }
result := model.Proxy{
Type: "shadowsocks",
Shadowsocks: model.Shadowsocks{