ooni-probe-cli/internal/model
Simone Basso cc24f28b9d
feat(netxlite): support extracting the CNAME (#875)
* feat(netxlite): support extracting the CNAME

Closes https://github.com/ooni/probe/issues/2225

* fix(netxlite): attempt to increase coverage and improve tests

1. dnsovergetaddrinfo: specify the behavior of a DNSResponse returned
by this file to make it line with normal responses and write unit tests
to make sure we adhere to expectations;

2. dnsoverudp: make sure we wait to deferred responses also w/o a
custom context and post on a private channel and test that;

3. utls: recognize that we can actually write a test for NetConn and
what needs to change when we'll use go1.19 by default will just be
a cast that at that point can be removed.
2022-08-23 13:04:00 +02:00
..
mocks feat(netxlite): support extracting the CNAME (#875) 2022-08-23 13:04:00 +02:00
archival_test.go feat: tlsping and tcpping using step-by-step (#815) 2022-07-01 12:22:22 +02:00
archival.go refactor(simplequicping): use step-by-step (#852) 2022-08-17 09:19:11 +02:00
doc.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
experiment_test.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
experiment.go refactor(engine): allow scripts to register experiments (#860) 2022-08-17 10:57:03 +02:00
http.go cleanup: merge httpheader and httpfailure into model (#758) 2022-05-25 09:54:50 +02:00
keyvaluestore.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
logger_test.go cleanup(netx): another batch of small/simple cleanups (#789) 2022-06-02 13:50:34 +02:00
logger.go cleanup(netx): another batch of small/simple cleanups (#789) 2022-06-02 13:50:34 +02:00
measurement_test.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
measurement.go doc(step-by-step): readability improvements (#820) 2022-06-30 09:55:18 +02:00
netx.go feat(netxlite): support extracting the CNAME (#875) 2022-08-23 13:04:00 +02:00
ooapi.go fix(ooniprobe): use ooniprobe-cli-unattended for unattended runs (#714) 2022-04-29 13:41:09 +02:00
README.md doc(step-by-step): readability improvements (#820) 2022-06-30 09:55:18 +02:00
runtype.go fix(ooniprobe): use ooniprobe-cli-unattended for unattended runs (#714) 2022-04-29 13:41:09 +02:00

Package github.com/ooni/probe-cli/internal/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.