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
@@ -69,6 +69,8 @@ type Info struct {
Price float64 `json:"price"`
Group string `json:"group"`
Tags string `json:"tags"`
IPv4 string `json:"ipv4"`
IPv6 string `json:"ipv6"`
}
// NodeListEntry is the static metadata of a node from the Komari node list,