Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HashPass ¶
FIXME: If the rand stuff in here fails, it will probably crash the app, there is no error handling here
func ParseBasic ¶
Types ¶
type User ¶
type User struct {
Salt []byte `db:"password_salt"`
Iterations int `db:"password_iterations"`
Hash []byte `db:"password_hash"`
Password string `json:"password"`
UserName string `db:"username" json:"userName"`
Name string `db:"name" json:"name"`
Email string `db:"email" json:"email"`
}
func GetUserAuthInfo ¶
Click to show internal directories.
Click to hide internal directories.