api

package
v0.0.0-...-7d4a18e Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCityHandler

func GetCityHandler(w http.ResponseWriter, r *http.Request)

GetCityHandler handle get city full data

func GetContinentByCodeHandler

func GetContinentByCodeHandler(w http.ResponseWriter, r *http.Request)

GetContinentByCodeHandler handle request to get continent by code

func GetContinentCodeCountriesHandler

func GetContinentCodeCountriesHandler(w http.ResponseWriter, r *http.Request)

GetContinentCodeCountriesHandler handle request to get countries by continent code

func GetContinentCountriesHandler

func GetContinentCountriesHandler(w http.ResponseWriter, r *http.Request)

GetContinentCountriesHandler handle request to get countries by continent ID

func GetContinentHandler

func GetContinentHandler(w http.ResponseWriter, r *http.Request)

GetContinentHandler handle request to get continent by ID

func GetContinentsHandler

func GetContinentsHandler(w http.ResponseWriter, r *http.Request)

GetContinentsHandler handle request to get all continents

func GetCountriesHandler

func GetCountriesHandler(w http.ResponseWriter, r *http.Request)

GetCountriesHandler handle request to get all countries

func GetCountryByCodeHandler

func GetCountryByCodeHandler(w http.ResponseWriter, r *http.Request)

GetCountryByCodeHandler handle request to get country data by code

func GetCountryCitiesHandler

func GetCountryCitiesHandler(w http.ResponseWriter, r *http.Request)

GetCountryCitiesHandler handle request to get cities by country ID

func GetCountryCodeCitiesHandler

func GetCountryCodeCitiesHandler(w http.ResponseWriter, r *http.Request)

GetCountryCodeCitiesHandler handle request to get cities by country code

func GetCountryCodeRegionCodeCitiesHandler

func GetCountryCodeRegionCodeCitiesHandler(w http.ResponseWriter, r *http.Request)

GetCountryCodeRegionCodeCitiesHandler handle request to get cities by country code and region code

func GetCountryCodeRegionsHandler

func GetCountryCodeRegionsHandler(w http.ResponseWriter, r *http.Request)

GetCountryCodeRegionsHandler handle request to get region by country code

func GetCountryHandler

func GetCountryHandler(w http.ResponseWriter, r *http.Request)

GetCountryHandler handle request to get country data by ID

func GetCountryRegionCitiesHandler

func GetCountryRegionCitiesHandler(w http.ResponseWriter, r *http.Request)

GetCountryRegionCitiesHandler handle request to get cities by country ID and region ID

func GetCountryRegionsHandler

func GetCountryRegionsHandler(w http.ResponseWriter, r *http.Request)

GetCountryRegionsHandler handle request to get region by country ID

func GetRegionHandler

func GetRegionHandler(w http.ResponseWriter, r *http.Request)

GetRegionHandler handle request to get region by ID

func StartAPI

func StartAPI() error

StartAPI starts API server

Types

This section is empty.

Jump to

Keyboard shortcuts

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