5ebdeb56ca
## Checklist - [x] I have read the [contribution guidelines](https://github.com/ooni/probe-cli/blob/master/CONTRIBUTING.md) - [x] reference issue for this pull request: https://github.com/ooni/probe/issues/2158 - [x] if you changed anything related how experiments work and you need to reflect these changes in the ooni/spec repository, please link to the related ooni/spec pull request: https://github.com/ooni/spec/pull/250 ## Description This diff refactors the codebase to reimplement tlsping and tcpping to use the step-by-step measurements style. See docs/design/dd-003-step-by-step.md for more information on the step-by-step measurement style.
13 lines
704 B
Go
13 lines
704 B
Go
// Package tracex performs measurements using tracing. To use tracing means
|
|
// that we'll wrap netx data types (e.g., a Dialer) with equivalent data types
|
|
// saving events into a Saver data struture. Then we will use the data types
|
|
// normally (e.g., call the Dialer's DialContet method and then use the
|
|
// resulting connection). When done, we will extract the trace containing
|
|
// all the events that occurred from the saver and process it to determine
|
|
// what happened during the measurement itself.
|
|
//
|
|
// This package is now frozen. Please, use measurexlite for new code. See
|
|
// https://github.com/ooni/probe-cli/blob/master/docs/design/dd-003-step-by-step.md
|
|
// for details about this.
|
|
package tracex
|