8f7e3803eb
Acknowledge that transports MAY be used in isolation (i.e., outside of a Resolver) and add support for wrapping. Ensure that every factory that creates an unwrapped type is named accordingly to hopefully ensure there are no surprises. Implement DNSTransport wrapping and use a technique similar to the one used by Dialer to customize the DNSTransport while constructing more complex data types (e.g., a specific resolver). Ensure that the stdlib resolver's own "getaddrinfo" transport (1) is wrapped and (2) could be extended during construction. This work is part of my ongoing effort to bring to this repository websteps-illustrated changes relative to netxlite. Ref issue: https://github.com/ooni/probe/issues/2096 |
||
---|---|---|
.. | ||
mocks | ||
archival_test.go | ||
archival.go | ||
doc.go | ||
experiment_test.go | ||
experiment.go | ||
http.go | ||
keyvaluestore.go | ||
logger_test.go | ||
logger.go | ||
measurement_test.go | ||
measurement.go | ||
netx.go | ||
ooapi.go | ||
README.md | ||
runtype.go |
Package github.com/ooni/probe-engine/model
Shared data structures and interfaces. We include in this
package the most fundamental types. Use go doc
to get
more thorough documentation about what is inside this package
and when to put a type inside this package.