Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type User ¶
type User struct { models.AutoFields Email string `db:"email" json:"email"` Name string `db:"name" json:"name"` }
User represents a "User" model
func Authenticate ¶
Authenticate takes email and password and returns user
Click to show internal directories.
Click to hide internal directories.