Added JSON attributes to auth.User
This commit is contained in:
+3
-3
@@ -1,9 +1,9 @@
|
||||
package auth
|
||||
|
||||
type User struct {
|
||||
ID string
|
||||
Level string
|
||||
Data map[string]string
|
||||
ID string `json:"id"`
|
||||
Level string `json:"level"`
|
||||
Data map[string]string `json:"data"`
|
||||
|
||||
method Authenticator
|
||||
loggedOut bool
|
||||
|
||||
Reference in New Issue
Block a user