MemberProfile as public type & create user on auth.

This commit is contained in:
Miroslav Šedivý
2020-11-25 22:07:05 +01:00
parent 665d9d2130
commit d1fccf5ab6
4 changed files with 18 additions and 22 deletions

View File

@ -2,6 +2,16 @@ package types
import "net/http"
type MemberProfile struct {
//Token string
Name string
IsAdmin bool
//Enabled bool
//CanControl bool
//CanWatch bool
//ClipboardAccess bool
}
type Session interface {
ID() string
Name() string