Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthController ¶
type AuthController struct{}
func (AuthController) Login ¶
func (AuthController) Login(c *fiber.Ctx) error
func (AuthController) Register ¶
func (AuthController) Register(c *fiber.Ctx) error
type LoginRequest ¶
type RegisterRequest ¶
type RegisterRequest struct { Email string `validate:"required,email" json:"email"` Password string `validate:"required,min=8" json:"password"` Name string `validate:"required,min=3,max=32" json:"name"` Phone string `validate:"omitempty,e164" json:"phone,omitempty"` City string `json:"city,omitempty"` State string `json:"state,omitempty"` Country string `json:"country,omitempty"` ZipCode int `validate:"number" form:"zip_code" json:"zip_code"` Address string `json:"address,omitempty"` }
Click to show internal directories.
Click to hide internal directories.