finish work

This commit is contained in:
2025-04-18 17:40:44 +08:00
parent cc8e04a41f
commit 16e779a450
25 changed files with 483 additions and 651 deletions
+11
View File
@@ -62,3 +62,14 @@ type NetConnect struct {
Ip string `json:"ip"`
Mac string `json:"mac"`
}
type ConnectRequest struct {
Mac string `json:"mac"`
Ip string `json:"ip"`
Alias string `json:"alias"`
Id string `json:"id"`
}
type CreateNetworkRequest struct {
Name string `json:"name"`
EnableDns bool `json:"enable_dns"`
Subnet string `json:"subnet"`
}