Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSpeedtestCollector ¶
func NewSpeedtestCollector(cache *cache.Cache) prometheus.Collector
NewSpeedtestCollector returns a releases collector
Types ¶
type SpeedtestResult ¶
type SpeedtestResult struct {
Type string `json:"type"`
Timestamp time.Time `json:"timestamp"`
Ping Ping `json:"ping"`
Download Download `json:"download"`
Upload Upload `json:"upload"`
PacketLoss float64 `json:"packetLoss"`
Isp string `json:"isp"`
Interface Interface `json:"interface"`
Server Server `json:"server"`
Result Result `json:"result"`
}
Click to show internal directories.
Click to hide internal directories.