Documentation ¶
Overview ¶
Package aggregationapi allows one to query the OONI aggregation API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Response ¶
type Response struct { Result ResponseResult `json:"result"` V int64 `json:"v"` }
Response is the response from the aggregation API.
type ResponseResult ¶
type ResponseResult struct { AnomalyCount int64 `json:"anomaly_count"` ConfirmedCount int64 `json:"confirmed_count"` FailureCount int64 `json:"failure_count"` MeasurementCount int64 `json:"measurement_count"` OKCount int64 `json:"ok_count"` }
ResponseResult is the result field inside a Response.
Click to show internal directories.
Click to hide internal directories.