added browsers support

This commit is contained in:
2024-05-17 17:32:11 +03:00
parent 3c08208a60
commit 7d3051d4cb
2 changed files with 184 additions and 53 deletions

View File

@@ -28,12 +28,12 @@ type FileBrowserInfo struct {
}
type ServerData struct {
Id string
OwnerId string
Image string
VolumeId string
Nickname string
UserPermissions map[string]Permission
DefaultCommand string
DefaultPorts []Port
Id string `bson:"Id"`
OwnerId string `bson:"OwnerId"`
Image string `bson:"Image"`
VolumeId string `bson:"VolumeId"`
Nickname string `bson:"Nickname"`
UserPermissions map[string]Permission `bson:"UserPermissions"`
DefaultCommand string `bson:"DefaultCommand"`
DefaultPorts []Port `bson:"DefaultPorts"`
}