Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoesUserExistByUsername ¶
Types ¶
type User ¶
type User struct { Id int `json:"id"` Username string `json:"username"` Password string `json:"password"` Permissions datatypes.JSON `json:"permissions"` Name string `json:"name"` Email string `json:"email"` Enabled bool `json:"enabled"` Change_password_next_login bool `json:"change_password_next_login"` }
func CreateNewUser ¶
func GetUserById ¶
func GetUserByUsername ¶
type UserPermissons ¶
type UserPermissons struct {
ADMIN bool
}
Click to show internal directories.
Click to hide internal directories.