Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleAuthLogin ¶
func HandleAuthLogin(c *fiber.Ctx) error
LoginHandler godoc @Summary Login a user @Description Login a user @Tags Authentication @Accept json @Produce json @Param user body dtos.AuthLoginReqData true "User login details" @Success 200 {object} dtos.AuthLoginApiRes @Router /auth/login [post]
func HandleAuthRegister ¶
func HandleAuthRegister(c *fiber.Ctx) error
RegisterHandler godoc @Summary Register a new user @Description Register a new user @Tags Authentication @Accept json @Produce json @Param user body dtos.AuthRegisterReqData true "User registration details" @Success 200 {object} dtos.AuthRegisterApiRes @Router /auth/register [post]
func HandleError ¶
func HandleUserGetById ¶
func HandleUserGetById(c *fiber.Ctx) error
func HandleUserPasswordUpdate ¶
func HandleUserPasswordUpdate(c *fiber.Ctx) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.