This commit is contained in:
2023-08-18 11:53:44 +08:00
3 changed files with 36 additions and 6 deletions

View File

@@ -223,6 +223,7 @@ func init() {
// 进程网络
Register("GET", psnet.UriWs, psnet.ProcessWs, nil)
Register("POST", psnet.UriStop, psnet.StopProcess, nil)
Register("POST", psnet.UriPing, psnet.Ping, nil)
// 主机CPU内存监控
Register("POST", monitor.UriLoad, monitor.LoadMonitor, nil)