client

package
v0.6.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL