Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { *Model FirstName string `db:"first_name"` LastName string `db:"last_name"` Gender *string PassHash string `db:"pass_hash"` Email string }
Account represents a user account
type ConfirmEmailRequest ¶
type ConfirmEmailRequest struct {
ConfirmationKey string
}
type LoginCredentials ¶
type Model ¶
type RegisterRequest ¶
type RegisterRequest struct { FirstName string LastName string Gender *string PhoneNumber *string Email string Password string }
func (RegisterRequest) Validate ¶
func (r RegisterRequest) Validate() error
type ResetPasswordRequest ¶
type ResetPasswordRequest struct {
Email string
}
Click to show internal directories.
Click to hide internal directories.