Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CSVReport ¶
type CSVReport struct {
Timestamp time.Time `csv:"Timestamp"`
Name string `csv:"Server Name"`
Address string `csv:"Address"`
Ping float64 `csv:"Ping"`
Jitter float64 `csv:"Jitter"`
Download float64 `csv:"Download"`
Upload float64 `csv:"Upload"`
IP string `csv:"IP"`
}
CSVReport represents the output data fields in a CSV file
type Client ¶
type Client struct {
defs.IPInfoResponse
}
Client represents the speed test client's information
type JSONReport ¶
type JSONReport struct {
Timestamp time.Time `json:"timestamp"`
Server Server `json:"server"`
Client Client `json:"client"`
BytesSent uint64 `json:"bytes_sent"`
BytesReceived uint64 `json:"bytes_received"`
Ping float64 `json:"ping"`
Jitter float64 `json:"jitter"`
Upload float64 `json:"upload"`
Download float64 `json:"download"`
}
JSONReport represents the output data fields in a JSON file
Click to show internal directories.
Click to hide internal directories.