Documentation ¶
Index ¶
- func Delete(c *fiber.Ctx) error
- func Find(c *fiber.Ctx) error
- func FindOne(c *fiber.Ctx) error
- func Renew(c *fiber.Ctx) error
- func Reset(c *fiber.Ctx) error
- func SignIn(c *fiber.Ctx) error
- func SignOut(c *fiber.Ctx) error
- func SignRenew(c *fiber.Ctx) error
- func SignUp(c *fiber.Ctx) error
- func UpdateComplete(c *fiber.Ctx) error
- func UpdatePartial(c *fiber.Ctx) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Delete ¶
func Delete(c *fiber.Ctx) error
@Tags Models @Accept */* @Produce application/json @Success 204 {object} nil @Router /client [delete] @Id client.Delete
func Find ¶
func Find(c *fiber.Ctx) error
@Tags Models @Accept */* @Produce application/json @Success 204 {object} nil @Router /client [get] @Id client.Find
func FindOne ¶
func FindOne(c *fiber.Ctx) error
@Tags Models @Accept */* @Produce application/json @Success 204 {object} nil @Router /client/:id [get] @Id client.FindOne
func Renew ¶
func Renew(c *fiber.Ctx) error
@Tags Password @Accept */* @Produce application/json @Success 204 {object} nil @Router /client/password/renew [post] @Id client.Renew
func Reset ¶
func Reset(c *fiber.Ctx) error
@Tags Password @Accept */* @Produce application/json @Success 204 {object} nil @Router /client/password/reset [post] @Id client.Reset
func SignIn ¶
func SignIn(c *fiber.Ctx) error
@Tags Sign @Accept */* @Produce application/json @Param email formData string true "Email address" @Param password formData string true "Password" @Success 204 {object} nil @Router /sign/in [post] @Id client.SignIn
func SignOut ¶
func SignOut(c *fiber.Ctx) error
@Tags Sign @Accept */* @Produce application/json @Success 204 {object} nil @Router /sign/out [get] @Id jwt.Auth => client.SignOut
func SignRenew ¶
func SignRenew(c *fiber.Ctx) error
@Tags Sign @Accept */* @Produce application/json @Success 204 {object} nil @Router /sign/renew [get] @Id client.SignRenew
func SignUp ¶
func SignUp(c *fiber.Ctx) error
@Tags Sign @Accept multipart/form-data @Produce application/json @Param email formData string true "Email address" @Success 201 {object} nil "Client created" @Failure 400 {object} nil "Invalid email or password" @Failure 409 {object} nil "Client already exists" @Router /sign/up [post] @Id client.SignUp
func UpdateComplete ¶
func UpdateComplete(c *fiber.Ctx) error
@Tags Models @Accept */* @Produce application/json @Success 204 {object} nil @Router /client [put] @Id client.UpdateComplete
func UpdatePartial ¶
func UpdatePartial(c *fiber.Ctx) error
@Tags Models @Accept */* @Produce application/json @Success 204 {object} nil @Router /client [patch] @Id client.UpdatePartial
Types ¶
This section is empty.