From 71a84963bccf75928b0d1c70a6b499109e1a6ac2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Wed, 25 Nov 2020 22:35:54 +0100 Subject: [PATCH] fix types - no json. --- internal/types/desktop.go | 12 ++++++------ internal/types/session.go | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/internal/types/desktop.go b/internal/types/desktop.go index 69f888b8..ae206053 100644 --- a/internal/types/desktop.go +++ b/internal/types/desktop.go @@ -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 { diff --git a/internal/types/session.go b/internal/types/session.go index b23d9255..883dbbee 100644 --- a/internal/types/session.go +++ b/internal/types/session.go @@ -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 {