mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
MemberProfile as public type & create user on auth.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user