feat(watchdog): add watchdog service with TCP client implementation

- Implement TCP client for watchdog service communication
- Add watchdog configuration in config.json
- Update main.go to initialize and connect to watchdog
- Add watchdog related functions (connect, command handling)
- Update README.md with new watchdog feature
- Improve route setup logging in router.go
This commit is contained in:
2026-04-02 18:42:44 +08:00
parent c19bbfbca4
commit aa22b04a1f
7 changed files with 272 additions and 2 deletions
+2
View File
@@ -72,6 +72,8 @@ For detailed API documentation, please see [docs/api.md](docs/api.md)
- [x] Fix backend can still start frpc instance when it is already running
- [ ] Develop an agent software to handle windows service management
- [ ] Refactor all log output level to be more clear
- [ ] Add global websocket endpoint for posting notifications
- [ ] Add frpc instance watchdog
## License