added more functionality

This commit is contained in:
2024-05-10 00:39:06 +03:00
parent 10c5367b9b
commit 5fc472832f
17 changed files with 413 additions and 37 deletions

26
models/server.go Normal file
View File

@@ -0,0 +1,26 @@
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
}
type FileBrowserInfo struct {
Id string
OwnerId string
ConnectedTo ServerInfo
}