feat(command): implement command execution for service monitoring
Add functionality to parse and execute commands for adding/removing service monitors and shutting down the watchdog. The ExecuteCommand function now handles "monitor.add", "monitor.remove" and "watchdog.shutdown" commands by interacting with the monitor package and system operations.
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -42,8 +42,8 @@ go.work.sum
|
||||
/frp_client
|
||||
/configs
|
||||
agent.md
|
||||
super-frpc
|
||||
super-frpc.exe
|
||||
Watchdog_Linux-systemd
|
||||
Watchdog_Linux-systemd.exe
|
||||
*.db
|
||||
database.db
|
||||
logs.html
|
||||
Reference in New Issue
Block a user