doc(oohelper): tweak documentation (#499)
Part of https://github.com/ooni/probe/issues/1733
This commit is contained in:
parent
c54cc73afa
commit
254a5511e9
|
@ -28,8 +28,11 @@ type Config struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Measure performs the three consecutive steps of the testhelper algorithm:
|
// Measure performs the three consecutive steps of the testhelper algorithm:
|
||||||
|
//
|
||||||
// 1. InitialChecks
|
// 1. InitialChecks
|
||||||
|
//
|
||||||
// 2. Explore
|
// 2. Explore
|
||||||
|
//
|
||||||
// 3. Generate
|
// 3. Generate
|
||||||
func Measure(ctx context.Context, creq *CtrlRequest, config *Config) (*ControlResponse, error) {
|
func Measure(ctx context.Context, creq *CtrlRequest, config *Config) (*ControlResponse, error) {
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -27,7 +27,7 @@ var newfailure = archival.NewFailure
|
||||||
// including the empirical CDF of the body size for test lists URLs.
|
// including the empirical CDF of the body size for test lists URLs.
|
||||||
const maxAcceptableBody = 1 << 24
|
const maxAcceptableBody = 1 << 24
|
||||||
|
|
||||||
// Handler implements the Web Connectivity test helper HTTP API.
|
// Handler implements the websteps test helper HTTP API.
|
||||||
type Handler struct {
|
type Handler struct {
|
||||||
Config *Config
|
Config *Config
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user