ooni-probe-cli/internal/engine/probeservices
Simone Basso 7b7df2c6af
refactor(httpx): improve and modernize (1/n) (#647)
This PR starts to implement the refactoring described at https://github.com/ooni/probe/issues/1951. I originally wrote more patches than the ones in this PR, but overall they were not readable. Since I want to squash and merge, here's a reasonable subset of the original patches that will still be readable and understandable in the future.
2022-01-05 12:48:32 +01:00
..
testorchestra chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
benchselect.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
bouncer_test.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
bouncer.go refactor(httpx): improve and modernize (1/n) (#647) 2022-01-05 12:48:32 +01:00
checkin_test.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
checkin.go refactor(httpx): improve and modernize (1/n) (#647) 2022-01-05 12:48:32 +01:00
checkreportid_test.go refactor(httpx): improve and modernize (1/n) (#647) 2022-01-05 12:48:32 +01:00
checkreportid.go refactor(httpx): improve and modernize (1/n) (#647) 2022-01-05 12:48:32 +01:00
collector_test.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
collector.go refactor(httpx): improve and modernize (1/n) (#647) 2022-01-05 12:48:32 +01:00
login_test.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
login.go refactor(httpx): improve and modernize (1/n) (#647) 2022-01-05 12:48:32 +01:00
measurementmeta_test.go refactor(httpx): improve and modernize (1/n) (#647) 2022-01-05 12:48:32 +01:00
measurementmeta.go refactor(httpx): improve and modernize (1/n) (#647) 2022-01-05 12:48:32 +01:00
metadata_test.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
metadata.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
probeservices_test.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
probeservices.go refactor(httpx): improve and modernize (1/n) (#647) 2022-01-05 12:48:32 +01:00
psiphon_test.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
psiphon.go refactor(httpx): improve and modernize (1/n) (#647) 2022-01-05 12:48:32 +01:00
README.md chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
register_test.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
register.go refactor(httpx): improve and modernize (1/n) (#647) 2022-01-05 12:48:32 +01:00
statefile_test.go refactor: flatten and separate (#353) 2021-06-04 10:34:18 +02:00
statefile.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
tor_test.go refactor(httpx): improve and modernize (1/n) (#647) 2022-01-05 12:48:32 +01:00
tor.go refactor(httpx): improve and modernize (1/n) (#647) 2022-01-05 12:48:32 +01:00
urls_test.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
urls.go refactor(httpx): improve and modernize (1/n) (#647) 2022-01-05 12:48:32 +01:00

Package github.com/ooni/probe-engine/probeservices

This package contains code to contact OONI probe services.

The probe services are HTTPS endpoints distributed across a bunch of data centres implementing a bunch of OONI APIs. When started, OONI will benchmark the available probe services and select the fastest one. Eventually all the possible OONI APIs will run as probe services.