Discover Packages
github.com/deepsquare-io/grid/supervisor
pkg
benchmark
speedtest
package
Version:
v0.16.3
Opens a new window with list of versions in this module.
Published: Dec 4, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Interface struct {
InternalIP string `json:"internalIp"`
Name string `json:"name"`
MACAddr string `json:"macAddr"`
IsVPN bool `json:"isVpn"`
ExternalIP string `json:"externalIp"`
}
type Load struct {
Bandwidth uint64 `json:"bandwidth"`
Bytes uint64 `json:"bytes"`
Elapsed uint64 `json:"elapsed"`
Latency Ping `json:"latency"`
}
type Ping struct {
Iqm *float64 `json:"iqm,omitempty"`
Low float64 `json:"low"`
High float64 `json:"high"`
Jitter float64 `json:"jitter"`
Latency *float64 `json:"latency,omitempty"`
}
type Result struct {
Type string `json:"type"`
Timestamp string `json:"timestamp"`
Ping Ping `json:"ping"`
Download Load `json:"download"`
Upload Load `json:"upload"`
PacketLoss uint64 `json:"packetLoss"`
ISP string `json:"isp"`
Interface Interface `json:"interface"`
Server Server `json:"server"`
Result ResultClass `json:"result"`
}
type ResultClass struct {
ID string `json:"id"`
URL string `json:"url"`
Persisted bool `json:"persisted"`
}
type Server struct {
ID uint64 `json:"id"`
Host string `json:"host"`
Port uint64 `json:"port"`
Name string `json:"name"`
Location string `json:"location"`
Country string `json:"country"`
IP string `json:"ip"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.