- Move command handler to variable for better flexibility
- Add SendMsg function for sending messages through socket
- Fix missing return statements in command execution
- Improve error handling in monitor exception reporting
- Add debug server listen address and port configuration in config.json and config.go
- Update main.go to use debug config values when in debug mode
- Add logging for monitor add/remove commands in commandParse.go
Implement basic watchdog service for Linux systemd with:
- Configuration loading
- Logging system with database support
- WebSocket log broadcasting
- TCP server for agent communication
- Project setup with Go modules