Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
User model in the DB
func (*User) ComparePassword ¶
ComparePassword compares the password with the user's hash and salt
func (*User) SetPassword ¶
SetPassword sets the password hash and salt on a user
Click to show internal directories.
Click to hide internal directories.