ooni-probe-cli/internal/model
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
..
mocks feat(netxlite): support extracting the CNAME (#875) 2022-08-23 13:04:00 +02:00
archival_test.go feat: tlsping and tcpping using step-by-step (#815) 2022-07-01 12:22:22 +02:00
archival.go feat(measurexlite): generate HTTP traces (#881) 2022-08-26 13:11:43 +02:00
doc.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
experiment_test.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
experiment.go refactor(engine): allow scripts to register experiments (#860) 2022-08-17 10:57:03 +02:00
http.go cleanup: merge httpheader and httpfailure into model (#758) 2022-05-25 09:54:50 +02:00
keyvaluestore.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
logger_test.go cleanup(netx): another batch of small/simple cleanups (#789) 2022-06-02 13:50:34 +02:00
logger.go cleanup(netx): another batch of small/simple cleanups (#789) 2022-06-02 13:50:34 +02:00
measurement_test.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
measurement.go refactor: spin geoipx off geolocate (#893) 2022-08-28 20:00:25 +02:00
netx.go feat(netxlite): support extracting the CNAME (#875) 2022-08-23 13:04:00 +02:00
ooapi.go fix(ooniprobe): use ooniprobe-cli-unattended for unattended runs (#714) 2022-04-29 13:41:09 +02:00
README.md doc(step-by-step): readability improvements (#820) 2022-06-30 09:55:18 +02:00
runtype.go fix(ooniprobe): use ooniprobe-cli-unattended for unattended runs (#714) 2022-04-29 13:41:09 +02:00

Package github.com/ooni/probe-cli/internal/model

Shared data structures and interfaces. We include in this package the most fundamental types. Use go doc to get more thorough documentation about what is inside this package and when to put a type inside this package.