ooni-probe-cli/internal/experiment/webconnectivity/summary.go

24 lines
609 B
Go
Raw Normal View History

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
}