SetProfile changed as Update.

This commit is contained in:
Miroslav Šedivý
2020-12-05 22:18:45 +01:00
parent 22407825fe
commit a6fbafc079
4 changed files with 21 additions and 8 deletions

View File

@ -25,7 +25,6 @@ type Session interface {
CanWatch() bool
CanHost() bool
CanAccessClipboard() bool
SetProfile(profile MemberProfile)
IsHost() bool
IsConnected() bool
@ -43,6 +42,7 @@ type Session interface {
type SessionManager interface {
Create(id string, profile MemberProfile) Session
Update(id string, profile MemberProfile) error
Get(id string) (Session, bool)
Delete(id string) error