handler

package
v0.0.0-...-6eb7cd9 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllCadastralTerritories

func GetAllCadastralTerritories(db *gorm.DB, w http.ResponseWriter, r *http.Request)

GetAllCadastralTerritories from db

func GetAllCities

func GetAllCities(db *gorm.DB, w http.ResponseWriter, r *http.Request)

GetAllCities from db

func GetAllCityParts

func GetAllCityParts(db *gorm.DB, w http.ResponseWriter, r *http.Request)

GetAllCityParts from db

func GetAllPlaces

func GetAllPlaces(db *gorm.DB, w http.ResponseWriter, r *http.Request)

GetAllPlaces from db

func GetAllStreets

func GetAllStreets(db *gorm.DB, w http.ResponseWriter, r *http.Request)

GetAllStreets from db

func GetCadastralTerritory

func GetCadastralTerritory(db *gorm.DB, w http.ResponseWriter, r *http.Request)

GetCadastralTerritory by name

func GetCity

func GetCity(db *gorm.DB, w http.ResponseWriter, r *http.Request)

GetCity by name

func GetCityPart

func GetCityPart(db *gorm.DB, w http.ResponseWriter, r *http.Request)

GetCityPart by name

func GetHealtStatus

func GetHealtStatus(db *gorm.DB, w http.ResponseWriter, r *http.Request)

GetHealtStatus retuns application status info

func GetPlace

func GetPlace(db *gorm.DB, w http.ResponseWriter, r *http.Request)

GetPlace by id

func GetStreet

func GetStreet(db *gorm.DB, w http.ResponseWriter, r *http.Request)

GetStreet by name

func SearchPlace

func SearchPlace(db *gorm.DB, w http.ResponseWriter, r *http.Request)

SearchPlace by filter

Types

type HealthCheck

type HealthCheck struct {
	Status  string `json:"status"`
	Message string `json:"message"`
}

HealthCheck struct

Jump to

Keyboard shortcuts

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