Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type User ¶
type User struct { ID int64 `json:"id"` Name string `json:"name"` Login string `json:"login"` Password string `json:"password"` CreatedAt time.Time `json:"created_at"` ModifiedAt time.Time `json:"modified_at"` Deleted bool `json:"-"` LastLogin time.Time `json:"last_login"` }
func Authenticate ¶
func (*User) SetPassword ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.