23 lines
923 B
Go
23 lines
923 B
Go
package models
|
|
|
|
type InternetData struct {
|
|
ID uint64 `json:"ID,omitempty"`
|
|
CreationDate string `json:"CreationDate,omitempty"`
|
|
URL string `json:"URL,omitempty"`
|
|
Lat string `json:"Lat,omitempty"`
|
|
Lon string `json:"Lon,omitempty"`
|
|
Name string `json:"Name,omitempty"`
|
|
Country string `json:"Country,omitempty"`
|
|
Sponsor string `json:"Sponsor,omitempty"`
|
|
Host string `json:"Host,omitempty"`
|
|
Distance float64 `json:"Distance,omitempty"`
|
|
Latency uint64 `json:"Latency,omitempty"`
|
|
MaxLatency uint64 `json:"MaxLatency,omitempty"`
|
|
MinLatency uint64 `json:"MinLatency,omitempty"`
|
|
Jitter uint64 `json:"Jitter,omitempty"`
|
|
DLSpeed float64 `json:"DLSpeed,omitempty"`
|
|
ULSpeed float64 `json:"ULSpeed,omitempty"`
|
|
TestDuration uint64 `json:"TestDuration,omitempty"`
|
|
PacketLoss float64 `json:"PacketLoss,omitempty"`
|
|
}
|