Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProbeFunc ¶
ProbeFunc defines the signature for a network diagnostic probe.
func DefaultProbes ¶
func DefaultProbes() []ProbeFunc
DefaultProbes returns the standard slice of probes (YouTube CDN & Netflix).
type Result ¶
type Result struct {
Name string `json:"name"`
Passed bool `json:"passed"`
LatencyMs int64 `json:"latency_ms"`
IATACode string `json:"iata_code,omitempty"`
Region string `json:"region,omitempty"`
Country string `json:"country,omitempty"`
Error string `json:"error,omitempty"`
}
Result contains the diagnostic result from a network probe.
Click to show internal directories.
Click to hide internal directories.