Documentation
¶
Overview ¶
Package compat
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LatestRequest ¶
type LatestRequest struct{}
type LatestResponse ¶
type LatestResponse struct {
ID uuid.UUID `json:"id"`
Service string `json:"service"`
Ping *float64 `json:"ping"`
Download *int64 `json:"download"`
Upload *int64 `json:"upload"`
DownloadBits *int64 `json:"download_bits,omitempty"`
UploadBits *int64 `json:"upload_bits,omitempty"`
DownloadBitsHuman *string `json:"download_bits_human,omitempty"`
UploadBitsHuman *string `json:"upload_bits_human,omitempty"`
DownloadBytes *int `json:"download_bytes"`
UploadBytes *int `json:"upload_bytes"`
DownloadBytesHuman *string `json:"download_bytes_human,omitempty"`
UploadBytesHuman *string `json:"upload_bytes_human,omitempty"`
Benchmarks any `json:"benchmarks"`
Healthy bool `json:"healthy"`
Status string `json:"status"`
Scheduled bool `json:"scheduled"`
DispatchedBy any `json:"dispatched_by"`
Comments any `json:"comments"`
Data *results.SpeedtestOutput `json:"data"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
}
type LatestResponseEnvelope ¶
type LatestResponseEnvelope struct {
Data *LatestResponse `json:"data"`
}
LatestResponseEnvelope matches Laravel's default JSON resource wrapper.
Click to show internal directories.
Click to hide internal directories.