mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
IsAdmin + IsConnected.
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user