ooni-probe-cli/internal/measurex
Simone Basso dfa5e708fe
refactor(tor): rewrite using measurex (#652)
This diff rewrites the tor experiment to use measurex "easy" API.

To this end, we need to introduce an "easy" measurex API, which basically
performs easy measurements returning two pieces of data:

1. the resulting measurement, which is already using the OONI
archival data format and is always non-nil

2. a failure (i.e., the pointer to an error string), which
is nil on success and points to a string on failure

With this change, we should now be able to completely dispose of
the original netx API, which was only used by tor.

Reference issue: https://github.com/ooni/probe/issues/1688.
2022-01-05 18:41:11 +01:00
..
archival.go fix(measurex): handle case where TH is nil (#610) 2021-11-22 20:16:38 +01:00
db.go fix(measurex): use same keys of the OONI data format (#572) 2021-11-05 10:46:45 +01:00
dialer.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
dnsx.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
doc.go feat(measurex): refactored measurement library (#528) 2021-09-30 01:24:08 +02:00
easy.go refactor(tor): rewrite using measurex (#652) 2022-01-05 18:41:11 +01:00
endpoint.go feat(measurex): refactored measurement library (#528) 2021-09-30 01:24:08 +02:00
failure.go fix(measurex): use same keys of the OONI data format (#572) 2021-11-05 10:46:45 +01:00
http.go refactor(measurex): allow to configure timeouts and max-snapshot-size (#645) 2022-01-04 13:20:48 +01:00
logger.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
measurement.go fix(measurex): handle case where TH is nil (#610) 2021-11-22 20:16:38 +01:00
measurer.go refactor(measurex): allow to configure timeouts and max-snapshot-size (#645) 2022-01-04 13:20:48 +01:00
oddity.go feat(measurex): refactored measurement library (#528) 2021-09-30 01:24:08 +02:00
quic.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
resolver.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
tls.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
tracing.go refactor(measurex): allow to configure timeouts and max-snapshot-size (#645) 2022-01-04 13:20:48 +01:00
utils.go feat(measurex): refactored measurement library (#528) 2021-09-30 01:24:08 +02:00