refactor(frpc): replace ini with toml for config handling and improve proxy management

- Replace ini package with toml for more reliable config parsing
- Refactor proxy management to use structured config instead of string manipulation
- Add proper error handling for config operations
- Clean up unused imports and improve code organization
- Update go.mod dependencies accordingly
This commit is contained in:
2026-03-19 22:40:12 +08:00
parent c7fc0136b0
commit ab2e0567a9
8 changed files with 232 additions and 224 deletions
+1 -1
View File
@@ -166,4 +166,4 @@ func LogRequest(r *http.Request, userID int) {
func IntToString(i int) string {
return strconv.Itoa(i)
}
}