region

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

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