ooni-probe-cli/internal/ptx
Simone Basso 6b85dfce88
refactor(netx): move construction logic outside package (#798)
For testability, replace most if-based construction logic with
calls to well-tested factories living in other packages.

While there, acknowledge that a bunch of types could now be private
and make them private, modifying the code to call the public
factories allowing to construct said types instead.

Part of https://github.com/ooni/probe/issues/2121
2022-06-05 21:22:27 +02:00
..
testdata feat: introduce ptx package for pluggable transports dialers (#373) 2021-06-14 10:20:54 +02: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 feat(torsf): collect tor logs, select rendezvous method, count bytes (#683) 2022-02-07 17:05:36 +01:00
obfs4.go feat(torsf): collect tor logs, select rendezvous method, count bytes (#683) 2022-02-07 17:05:36 +01:00
ptx_test.go refactor: move httpx into the internal package (#646) 2022-01-05 17:17:20 +01:00
ptx.go refactor(netx): move construction logic outside package (#798) 2022-06-05 21:22:27 +02:00
snowflake_test.go feat(torsf): collect tor logs, select rendezvous method, count bytes (#683) 2022-02-07 17:05:36 +01:00
snowflake.go feat(torsf): collect tor logs, select rendezvous method, count bytes (#683) 2022-02-07 17:05:36 +01:00