Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllRegions ¶
func GetAllRegions(svc service.RegionService) fiber.Handler
@Summary Get all regions @Description Get all regions @Tags Region @Produce json @Success 200 {object} entities.RegionListResponse @Failure 400 {object} HTTPError @Failure 500 {object} HTTPError @Param page query string false "Page" @Param limit query string false "Limit" @Router /v1/region [get] @Security Keycloak
func GetRegionByID ¶
func GetRegionByID(svc service.RegionService) fiber.Handler
@Summary Get a region by ID @Description Get a region by ID @Tags Region @Produce json @Success 200 {object} entities.RegionResponse @Failure 400 {object} HTTPError @Failure 404 {object} HTTPError @Failure 500 {object} HTTPError @Param id path string true "Region ID" @Router /v1/region/{id} [get] @Security Keycloak
func RegisterRoutes ¶
func RegisterRoutes(svc service.RegionService) *fiber.App
Types ¶
This section is empty.