geoip2redis

command module
v0.9.4-0...-4f1d149 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2021 License: GPL-3.0 Imports: 10 Imported by: 0

README

GeoIP2Redis

Go

Loader of Multiple GeoIP providers to Redis. Now with LIVE MIGRATION!

The goal of GeoIP2Redis is to standardise all GeoIP formats into a standard CSV format (based on Ip2Location) that can be queried using Redis via subkeys.

We currently support the following providers (* partially)

GeoIP2Redis primarily supports DB1 from IP2Location, but with Auto mode enabled can load any of their standard IPv4 databases. It can also load Software77's database either in it's native format, or convert it on the fly to IP2Location format, making them interchangeable. * Please see the Wiki for Maxmind support.

Examples:

Use example1

Redis output

Please check out the the Wiki for more info.

TODO

  1. Testing - need to add golang tests
  2. ASN support for ip2location.
  3. Add more GEOIP sources. Suggestions welcome!

Disclaimer

IP2Location, Maxmind, Software77 and Redis are trademarks of respective owners.

(c) 2020 ConsulTent Ltd. http://consultent.ltd

Leading IP Geolocation solution provider to pinpoint the location of an IP address

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
tools

Jump to

Keyboard shortcuts

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