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 package types
type ScreenSize struct { type ScreenSize struct {
Width int `json:"width"` Width int
Height int `json:"height"` Height int
Rate int16 `json:"rate"` Rate int16
} }
type ScreenConfiguration struct { type ScreenConfiguration struct {
Width int `json:"width"` Width int
Height int `json:"height"` Height int
Rates map[int]int16 `json:"rates"` Rates map[int]int16
} }
type DesktopManager interface { type DesktopManager interface {

View File

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