Refactor: Rename NanoKVM to BatchuKVM and update server URL
This commit is contained in:
22
server/proto/storage.go
Normal file
22
server/proto/storage.go
Normal file
@@ -0,0 +1,22 @@
|
||||
package proto
|
||||
|
||||
type GetImagesRsp struct {
|
||||
Files []string `json:"files"`
|
||||
}
|
||||
|
||||
type MountImageReq struct {
|
||||
File string `json:"file" validate:"omitempty"`
|
||||
Cdrom bool `json:"cdrom" validate:"omitempty"`
|
||||
}
|
||||
|
||||
type GetMountedImageRsp struct {
|
||||
File string `json:"file"`
|
||||
}
|
||||
|
||||
type GetCdRomRsp struct {
|
||||
Cdrom int64 `json:"cdrom"`
|
||||
}
|
||||
|
||||
type DeleteImageReq struct {
|
||||
File string `json:"file" validate:"required"`
|
||||
}
|
||||
Reference in New Issue
Block a user