added more stuff

This commit is contained in:
2024-05-12 00:53:08 +03:00
parent 2e773d3c7e
commit 44d75030aa
20 changed files with 934 additions and 832 deletions

View File

@@ -1,36 +1,36 @@
package models
type Port struct {
Protocol string
Number int
}
type ImageInfo struct {
Name string
Version string
Ports []Port
}
type ServerInfo struct {
Id string
OwnerId string
Image ImageInfo
On bool
Nickname string
Ports []Port
}
type FileBrowserInfo struct {
Id string
OwnerId string
ConnectedTo ServerInfo
}
type ServerData struct {
Id string
OwnerId string
Image string
VolumeId string
Nickname string
UserPermissions map[string]Permission
}
package models
type Port struct {
Protocol string
Number int
}
type ImageInfo struct {
Name string
Version string
Ports []Port
}
type ServerInfo struct {
Id string
OwnerId string
Image ImageInfo
On bool
Nickname string
Ports []Port
}
type FileBrowserInfo struct {
Id string
OwnerId string
ConnectedTo ServerInfo
}
type ServerData struct {
Id string
OwnerId string
Image string
VolumeId string
Nickname string
UserPermissions map[string]Permission
}