Refactor: Rename NanoKVM to BatchuKVM and update server URL
This commit is contained in:
14
server/proto/application.go
Normal file
14
server/proto/application.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package proto
|
||||
|
||||
type GetVersionRsp struct {
|
||||
Current string `json:"current"`
|
||||
Latest string `json:"latest"`
|
||||
}
|
||||
|
||||
type GetPreviewRsp struct {
|
||||
Enabled bool `json:"enabled"`
|
||||
}
|
||||
|
||||
type SetPreviewReq struct {
|
||||
Enable bool `validate:"omitempty"`
|
||||
}
|
||||
Reference in New Issue
Block a user