fix types - no json.

This commit is contained in:
Miroslav Šedivý 2020-11-25 22:35:54 +01:00
parent ecfce6c886
commit 71a84963bc
2 changed files with 10 additions and 10 deletions

View File

@ -1,15 +1,15 @@
package types
type ScreenSize struct {
Width int `json:"width"`
Height int `json:"height"`
Rate int16 `json:"rate"`
Width int
Height int
Rate int16
}
type ScreenConfiguration struct {
Width int `json:"width"`
Height int `json:"height"`
Rates map[int]int16 `json:"rates"`
Width int
Height int
Rates map[int]int16
}
type DesktopManager interface {

View File

@ -5,11 +5,11 @@ import "net/http"
type MemberProfile struct {
//Token string
Name string
IsAdmin bool
IsAdmin bool
//Enabled bool
//CanControl bool
//CanWatch bool
//ClipboardAccess bool
//CanControl bool
//CanWatch bool
//ClipboardAccess bool
}
type Session interface {