Documentation
¶
Overview ¶
Package speedtest
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DeleteRequest ¶ added in v2.2.4
type GetRequest ¶
type GetResponse ¶ added in v2.3.0
type GetResponse struct {
Result
Status *WorkflowStatus `json:"status,omitempty"`
}
type ListRequest ¶
type Result ¶ added in v2.4.1
type Result struct {
ID uuid.UUID `json:"id"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
DeletedAt gorm.DeletedAt `json:"deleted_at"`
Ping *float64 `json:"ping"`
Download *int64 `json:"download"`
Upload *int64 `json:"upload"`
ServerID *int `json:"server_id"`
ServerHost *string `json:"server_host"`
ServerName *string `json:"server_name"`
URL *string `json:"url"`
Error *string `json:"error,omitempty"`
Complete bool `json:"complete"`
Raw *results.SpeedtestOutput `json:"raw,omitempty"`
}
type RunResponse ¶
type TimeseriesRequest ¶
type TimeseriesRequest struct {
Period duration.StringDuration `query:"period" description:"The time range to pick from" validate:"timeseries_period" default:"24h"`
}
type WorkflowStatus ¶ added in v2.3.0
type WorkflowStatus struct {
Version int `json:"version"`
Steps []WorkflowStep `json:"steps"`
}
Click to show internal directories.
Click to hide internal directories.