feat(controller): add /getip command to retrieve server IP information

This commit is contained in:
2026-08-19 14:39:41 +08:00
parent bd2bccd8ef
commit 5689c942d2
4 changed files with 40 additions and 0 deletions
+2
View File
@@ -64,6 +64,8 @@ func (m *Manager) RouteCommand(cmd Command) (string, error) {
return handleRun(cmd)
case "info":
return handleInfo(cmd)
case "getip":
return handleGetIP(cmd)
default:
return "", nil
}