Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAcount ¶
func CreateAcount(c *fiber.Ctx) error
CreateUser godoc @Summary create a account @Description create a account @TAGS account @ID create-account @Accept json @Produce json @Param payload body serializers.User true "User" @Success 200 @Router /api/v1/account/create [post]
func DeleteAccount ¶
func DeleteAccount(c *fiber.Ctx) error
DeleteUser godoc @Summary delete a account @Description delete a account @TAGS account @ID delete-account @Accept json @Produce json @Param id path string true "User.ID" @Success 200 @Router /api/v1/account/delete/{id} [delete]
func ShowAccount ¶
func ShowAccount(c *fiber.Ctx) error
ShowAccount godoc @Summary Show a account @Description get string by ID @TAGS account @ID Show-account @Accept json @Produce json @Param id path string true "User.ID" @Success 200 @Router /api/v1/account/read/{id} [get]
func UpdateAccount ¶
func UpdateAccount(c *fiber.Ctx) error
UpdateUser godoc @Summary update a account @Description update a account @TAGS account @ID update-account @Accept json @Produce json @Param payload body serializers.User true "User" @Param id path string true "User.ID" @Success 200 @Router /api/v1/account/update/{id} [put]