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
+3 -3
View File
@@ -5,9 +5,9 @@ import (
)
type LogMessage struct {
Level int `json:"level"`
Content string `json:"content"`
Timestamp string `json:"timestamp"`
Level int `json:"level"`
Content string `json:"content"`
Timestamp string `json:"timestamp"`
}
type Client struct {