ooni-probe-cli/internal/ptx
Simone Basso 1c057d322d
cleanup: merge legacy errorsx in netxlite and hide classifiers (#655)
This diff implements the first two cleanups defined at https://github.com/ooni/probe/issues/1956:

> - [ ] observe that `netxlite` and `netx` differ in error wrapping only in the way in which we set `ErrWrapper.Operation`. Observe that the code using `netxlite` does not care about such a field. Therefore, we can modify `netxlite` to set such a field using the code of `netx` and we can remove `netx` specific code for errors (which currently lives inside of the `./internal/engine/legacy/errorsx` package
>
> - [ ] after we've done the previous cleanup, we can make all the classifiers code private, since there's no code outside `netxlite` that needs them

A subsequent diff will address the remaining cleanup.

While there, notice that there are failing, unrelated obfs4 tests, so disable them in short mode. (I am confident these tests are unrelated because they fail for me when running test locally from the `master` branch.)
2022-01-07 17:31:21 +01:00
..
testdata feat: introduce ptx package for pluggable transports dialers (#373) 2021-06-14 10:20:54 +02:00
dependencies_test.go feat: introduce ptx package for pluggable transports dialers (#373) 2021-06-14 10:20:54 +02:00
dependencies.go cleanup(ptx): remove redundant dialer definition (#644) 2022-01-04 12:46:55 +01:00
doc.go feat: introduce ptx package for pluggable transports dialers (#373) 2021-06-14 10:20:54 +02:00
fake_test.go feat: introduce ptx package for pluggable transports dialers (#373) 2021-06-14 10:20:54 +02:00
fake.go feat: introduce ptx package for pluggable transports dialers (#373) 2021-06-14 10:20:54 +02:00
obfs4_test.go cleanup: merge legacy errorsx in netxlite and hide classifiers (#655) 2022-01-07 17:31:21 +01:00
obfs4.go cleanup(ptx): remove redundant dialer definition (#644) 2022-01-04 12:46:55 +01:00
ptx_test.go refactor: move httpx into the internal package (#646) 2022-01-05 17:17:20 +01:00
ptx.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
snowflake_test.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
snowflake.go refactor: create common package for holding STUN input (#631) 2021-12-03 14:45:25 +01:00