Documentation ¶
Index ¶
- type App
- func (a *App) Get(path string, f func(w http.ResponseWriter, r *http.Request))
- func (a *App) GetAllCadastralTerritories(w http.ResponseWriter, r *http.Request)
- func (a *App) GetAllCities(w http.ResponseWriter, r *http.Request)
- func (a *App) GetAllCityParts(w http.ResponseWriter, r *http.Request)
- func (a *App) GetAllPlaces(w http.ResponseWriter, r *http.Request)
- func (a *App) GetAllStreets(w http.ResponseWriter, r *http.Request)
- func (a *App) GetCadastralTerritory(w http.ResponseWriter, r *http.Request)
- func (a *App) GetCity(w http.ResponseWriter, r *http.Request)
- func (a *App) GetCityPart(w http.ResponseWriter, r *http.Request)
- func (a *App) GetHealtStatus(w http.ResponseWriter, r *http.Request)
- func (a *App) GetPlace(w http.ResponseWriter, r *http.Request)
- func (a *App) GetStreet(w http.ResponseWriter, r *http.Request)
- func (a *App) Initialize(config *config.Config)
- func (a *App) Run(host string)
- func (a *App) SearchPlace(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
App has router and db instances
func (*App) GetAllCadastralTerritories ¶
func (a *App) GetAllCadastralTerritories(w http.ResponseWriter, r *http.Request)
GetAllCadastralTerritories handlers to manage Cadastral Territory Data
func (*App) GetAllCities ¶
func (a *App) GetAllCities(w http.ResponseWriter, r *http.Request)
GetAllCities handlers to manage City Data
func (*App) GetAllCityParts ¶
func (a *App) GetAllCityParts(w http.ResponseWriter, r *http.Request)
GetAllCityParts handlers to manage City Part Data
func (*App) GetAllPlaces ¶
func (a *App) GetAllPlaces(w http.ResponseWriter, r *http.Request)
GetAllPlaces handlers to manage Place Data
func (*App) GetAllStreets ¶
func (a *App) GetAllStreets(w http.ResponseWriter, r *http.Request)
GetAllStreets handlers to manage Street Data
func (*App) GetCadastralTerritory ¶
func (a *App) GetCadastralTerritory(w http.ResponseWriter, r *http.Request)
GetCadastralTerritory handlers to manage Cadastral Territory Data
func (*App) GetCity ¶
func (a *App) GetCity(w http.ResponseWriter, r *http.Request)
GetCity handlers to manage City Data
func (*App) GetCityPart ¶
func (a *App) GetCityPart(w http.ResponseWriter, r *http.Request)
GetCityPart handlers to manage City Part Data
func (*App) GetHealtStatus ¶
func (a *App) GetHealtStatus(w http.ResponseWriter, r *http.Request)
GetHealtStatus retuns application status info
func (*App) GetPlace ¶
func (a *App) GetPlace(w http.ResponseWriter, r *http.Request)
GetPlace handlers to manage Place Data
func (*App) GetStreet ¶
func (a *App) GetStreet(w http.ResponseWriter, r *http.Request)
GetStreet handlers to manage Street Data
func (*App) Initialize ¶
Initialize application with predefined configuration
func (*App) SearchPlace ¶
func (a *App) SearchPlace(w http.ResponseWriter, r *http.Request)
SearchPlace handler to get places by filter