IPGeoLocation

module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2021 License: MIT

README

IPGeoLocation

Overview

An exercise in building REST-API service that returns IP to location (Country/City) mapping.

Usage

  • To build run ./build.sh
  • To run docker ./run.sh
  • Environment variables can be set in env file
  • Example usage:
curl http://localhost:8000/v1/find-country?ip=10.10.11.11
{"Country":"Italy","City":"Milano"}

Directories

Path Synopsis
cmd
server command
pkg
db

Jump to

Keyboard shortcuts

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