ooni-probe-cli/internal/engine/geolocate
Simone Basso 110a11828b
refactor: spin geoipx off geolocate (#893)
A bunch of packages (including oohelperd) just need the ability to
use MaxMind-like databases. They don't need the additional functionality
implemented by the geolocate package. Such a package, in fact, is
mostly (if not only) needed by the engine package.

Therefore, move code to query MaxMind-like databases to a separate
package, and avoid depending on geolocate in all the packages for
which it's sufficient to use geoipx.

Part of https://github.com/ooni/probe/issues/2240
2022-08-28 20:00:25 +02:00
..
cloudflare_test.go cleanup: merge httpheader and httpfailure into model (#758) 2022-05-25 09:54:50 +02:00
cloudflare.go refactor: spin geoipx off geolocate (#893) 2022-08-28 20:00:25 +02:00
fake_test.go refactor: merge dnsx and errorsx into netxlite (#517) 2021-09-28 12:42:01 +02:00
geolocate_test.go refactor: spin geoipx off geolocate (#893) 2022-08-28 20:00:25 +02:00
geolocate.go refactor: spin geoipx off geolocate (#893) 2022-08-28 20:00:25 +02:00
invalid_test.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
iplookup_test.go refactor: spin geoipx off geolocate (#893) 2022-08-28 20:00:25 +02:00
iplookup.go refactor: spin geoipx off geolocate (#893) 2022-08-28 20:00:25 +02:00
mmdblookup.go refactor: spin geoipx off geolocate (#893) 2022-08-28 20:00:25 +02:00
resolverlookup_test.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
resolverlookup.go fix(geolocate): use powerdns.org whoami service (#592) 2021-11-12 14:53:15 +01:00
stun_test.go refactor: spin geoipx off geolocate (#893) 2022-08-28 20:00:25 +02:00
stun.go refactor: spin geoipx off geolocate (#893) 2022-08-28 20:00:25 +02:00
ubuntu_test.go refactor: spin geoipx off geolocate (#893) 2022-08-28 20:00:25 +02:00
ubuntu.go refactor: spin geoipx off geolocate (#893) 2022-08-28 20:00:25 +02:00