Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { ID uuid.UUID // PK, NOT NULL Username string // UNIQUE, NOT NULL Password string // NOT NULL Email db.Email // NOT NULL Role jelly.Role // NOT NULL Created db.Timestamp // NOT NULL Modified db.Timestamp // NOT NULL LastLogout db.Timestamp // NOT NULL DEFAULT NOW() LastLogin db.Timestamp // NOT NULL }
User is a pre-rolled DB model version of a jelly.AuthUser.
func NewUserFromAuthUser ¶
Click to show internal directories.
Click to hide internal directories.