Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAccount ¶
func GetAccount(c *fiber.Ctx) error
GetAccount godoc @Summary Get Account @Description Get Account by ID @ID get-account-by-id @Accept json @Produce json @Param id path int true "Account ID" @Success 200 {object} Account @Failure 400 {object} HTTPError @Failure 404 {object} HTTPError @Failure 500 {object} HTTPError @Router /accounts/{id} [get]
func GetProfile ¶
func GetProfile(c *fiber.Ctx) error
GetProfile godoc @Summary Get ProfileS @Description Gets user profile. @ID get-profile @Accept json @Produce json @Success 200 {object} Profile @Failure 400 {object} HTTPError @Failure 404 {object} HTTPError @Failure 500 {object} HTTPError @Router /profile [get]
func RegisterApiRouters ¶
func RegisterApiRouters(app *fiber.App)
Types ¶
Click to show internal directories.
Click to hide internal directories.