Skip to content
Snippets Groups Projects
doc.go 514 B
Newer Older
  • Learn to ignore specific revisions
  • kali's avatar
    kali committed
    // geolocate exposes a function to obtain geographical coordinates for a given country.
    // Previously, we used a City location database to obtain a country assignment for the request IP.
    // This new approach moves in the direction of delegating the "country" or
    // region geolocation to the client side (and let it override when needed), which greatly simplifies
    // the responsibility of keeping a geodb up to date.
    // The clients are also expected to pass a country code for background queries.
    package geolocate