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

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{