IsAdmin + IsConnected.

This commit is contained in:
Miroslav Šedivý
2020-12-02 16:49:51 +01:00
parent 25fec63455
commit 123fbd8317
8 changed files with 16 additions and 16 deletions

View File

@ -16,9 +16,9 @@ type MemberProfile struct {
type Session interface {
ID() string
Name() string
Admin() bool
IsAdmin() bool
IsHost() bool
Connected() bool
IsConnected() bool
VerifySecret(secret string) bool
SetWebSocketPeer(websocket_peer WebSocketPeer)
SetWebSocketConnected(connected bool)