refactor(frpc): restructure instance management and config handling

- Move instance-related structs and functions to config.go
- Remove serverAddr, serverPort, and authMethod from database schema
- Implement new config parsing and encoding with nested key support
- Update service management to use instanceID instead of username/name
- Add GetServiceNameByInstanceID helper function
- Update API documentation for auth.method field change
This commit is contained in:
2026-03-25 20:00:34 +08:00
parent da729b44ff
commit 92a0e24db7
8 changed files with 491 additions and 281 deletions

View File

@@ -66,6 +66,7 @@ For detailed API documentation, please see [docs/api.md](docs/api.md)
- [ ] Add frpc instance running status management API
- [ ] Add frpc instance log display API
- [ ] Fix random database lock when processing logs
- [ ] Add frpc createdBy storage and display
## License