Documentation ¶
Overview ¶
Package signal implements the signal experiment.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Measurer ¶
type Measurer struct { // RawOptions contains the raw options for this experiment. RawOptions json.RawMessage }
Measurer is the signal measurer.
func NewMeasurer ¶
func NewMeasurer(rawOptions json.RawMessage) *Measurer
NewMeasurer returns a new Measurer instance.
func (*Measurer) ExperimentName ¶
ExperimentName implements model.ExperimentMeasurer
func (*Measurer) ExperimentVersion ¶
ExperimentVersion implements model.ExperimentMeasurer
func (*Measurer) GetSummaryKeys ¶
func (m *Measurer) GetSummaryKeys(*model.Measurement) (any, error)
GetSummaryKeys implements model.ExperimentMeasurer
type SummaryKeys ¶
type SummaryKeys struct {
IsAnomaly bool `json:"-"`
}
SummaryKeys contains summary keys for this experiment.
Note that this structure is part of the ABI contract with ooniprobe therefore we should be careful when changing it.
Click to show internal directories.
Click to hide internal directories.