mirror of
https://github.com/m1k1o/neko-rooms.git
synced 2026-11-03 07:01:35 -06:00
add mount types.
This commit is contained in:
+11
-2
@@ -39,9 +39,18 @@ type RoomEntry struct {
|
||||
Created time.Time `json:"created"`
|
||||
}
|
||||
|
||||
type MountType string
|
||||
|
||||
const (
|
||||
MountPrivate MountType = "private"
|
||||
MountTemplate MountType = "template"
|
||||
MountPublic MountType = "public"
|
||||
)
|
||||
|
||||
type RoomMount struct {
|
||||
HostPath string `json:"host_path"`
|
||||
ContainerPath string `json:"container_path"`
|
||||
Type MountType `json:"type"`
|
||||
HostPath string `json:"host_path"`
|
||||
ContainerPath string `json:"container_path"`
|
||||
}
|
||||
|
||||
type RoomSettings struct {
|
||||
|
||||
Reference in New Issue
Block a user