feat(webconnectivity): long-term-evolution prototype (#882)
See https://github.com/ooni/probe/issues/2237
This commit is contained in:
parent
9ba6f8dcbb
commit
1a1d3126ae
20 changed files with 3067 additions and 1 deletions
23
internal/experiment/webconnectivity/summary.go
Normal file
23
internal/experiment/webconnectivity/summary.go
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
package webconnectivity
|
||||
|
||||
//
|
||||
// Summary
|
||||
//
|
||||
|
||||
import "github.com/ooni/probe-cli/v3/internal/model"
|
||||
|
||||
// Summary contains the summary results.
|
||||
//
|
||||
// Note that this structure is part of the ABI contract with ooniprobe
|
||||
// therefore we should be careful when changing it.
|
||||
type SummaryKeys struct {
|
||||
// TODO: add here additional summary fields.
|
||||
isAnomaly bool
|
||||
}
|
||||
|
||||
// GetSummaryKeys implements model.ExperimentMeasurer.GetSummaryKeys.
|
||||
func (m *Measurer) GetSummaryKeys(measurement *model.Measurement) (any, error) {
|
||||
// TODO(bassosimone): fill all the SummaryKeys
|
||||
sk := SummaryKeys{isAnomaly: false}
|
||||
return sk, nil
|
||||
}
|
||||
Loading…
Reference in a new issue