6b85dfce88
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 |
||
---|---|---|
.. | ||
conn_test.go | ||
conn.go | ||
context_test.go | ||
context.go | ||
counter_test.go | ||
counter.go | ||
dialer_test.go | ||
dialer.go | ||
doc.go | ||
http_test.go | ||
http.go |