检查ip端口请求

This commit is contained in:
TsMask
2023-08-18 11:01:35 +08:00
parent ab4f3b1691
commit 15b324a436
2 changed files with 31 additions and 0 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)