This commit is contained in:
2024-03-11 21:00:13 +08:00
parent 665da8fc45
commit daa3ab6867
18 changed files with 80 additions and 100 deletions

View File

@@ -40,8 +40,8 @@ func ParseTrojan(proxy string) (model.Proxy, error) {
password := strings.TrimSpace(parts[0])
result := model.Proxy{
Type: "trojan",
Tag: remarks,
Trojan: model.Trojan{
Tag: remarks,
Server: server,
ServerPort: uint16(port),
Password: password,