Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangePasswordReq ¶
type DriverRegistrationsReq ¶
type DriverRegistrationsReq struct { FirstName string `json:"first_name" form:"first_name" validate:"required"` LastName string `json:"last_name" form:"last_name" ` Email string `json:"email" form:"email" validate:"required,email"` PhoneNumber string `json:"phone_number" form:"phone_number"` DateOfBirth string `json:"date_of_birth" form:"date_of_birth"` Age int `json:"age" form:"age"` LicenseNumber string `json:"license_number" form:"license_number"` ProfilePicture string `json:"profile_picture" form:"profile_picture"` Password string `json:"password" form:"password" validate:"required,min=8"` PasswordConfirmation string `json:"password_confirmation" form:"password_confirmation" validate:"required,eqfield=Password"` }
type ForgotPasswordReq ¶
type ForgotPasswordReq struct {
Email string `json:"email" validate:"required,email"`
}
type GovRegistrationReq ¶
type GovRegistrationReq struct { FirstName string `json:"first_name" form:"first_name" validate:"required"` LastName string `json:"last_name" form:"last_name" validate:"required"` Email string `json:"email" form:"email" validate:"required,email"` PhoneNumber string `json:"phone_number" form:"phone_number" validate:"required"` NIP string `json:"nip" form:"nip" validate:"required"` Password string `json:"password" form:"password" validate:"required"` PasswordConfirmation string `json:"password_confirmation" form:"password_confirmation" validate:"required,eqfield=Password"` ProfilePicture string `json:"profile_picture" form:"profile_picture" validate:"required"` }
type OwnerRegistrationsReq ¶
type OwnerRegistrationsReq struct { FirstName string `json:"first_name"` LastName string `json:"last_name"` Email string `json:"email" validate:"required,email"` PhoneNumber string `json:"phone_number"` NIK string `json:"nik"` ProfilePicture string `json:"profile_picture" form:"profile_picture" form:"profile_picture"` Password string `json:"password" validate:"required,min=8"` PasswordConfirmation string `json:"password_confirmation" validate:"required,eqfield=Password"` }
type ResetPasswordReq ¶
type UserLoginReq ¶
type UserRegistrationsReq ¶
type UserRegistrationsReq struct { Email string `json:"email" validate:"required,email" form:"email"` Password string `json:"password" form:"password" validate:"required,min=8"` PasswordConfirmation string `json:"password_confirmation" form:"password_confirmation" validate:"required,eqfield=Password"` }
Click to show internal directories.
Click to hide internal directories.