Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //UserStatus variables UserStatus = userStatus{Active: "active", Inactive: "inactive"} //UserRoles variables UserRoles = userRoles{ UserAdmin: "user_admin", HierarchyManager: "hierarchy_manager", DeviceManager: "device_manager", Inspector: "inspector", } )
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { ID uuid.UUID `json:"id"` Email string `json:"email"` UserRoles []string `json:"userRoles"` Username string `json:"username"` UserStatus string `json:"userStatus"` EulaAgreedDate string `json:"eulaAgreedDate"` ValidEula bool `json:"validEula"` }
User struct
type UserAgreement ¶
UserAgreement struct
type UserCredentials ¶
UserCredentials struct
Click to show internal directories.
Click to hide internal directories.