Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateRegistration ¶
type CreateRegistration struct { Email string `json:"email"` Password string `json:"password"` FirstName *string `json:"first_name"` LastName *string `json:"last_name"` }
CreateRegistration is the payload needed to register a user in the system.
func (CreateRegistration) Validate ¶
func (c CreateRegistration) Validate() *nile.ErrorResponse
Validate ensures that the payload is in a valid state.
Click to show internal directories.
Click to hide internal directories.