17 lines
454 B
Go
17 lines
454 B
Go
package jcstypes
|
|
|
|
import "time"
|
|
|
|
type SpeedStatsStatus struct {
|
|
Below100M []SpeedStatsStatusEntry `json:"below100M"`
|
|
Below1G []SpeedStatsStatusEntry `json:"below1G"`
|
|
Above1G []SpeedStatsStatusEntry `json:"above1G"`
|
|
}
|
|
|
|
type SpeedStatsStatusEntry struct {
|
|
TotalSize int64 `json:"totalSize"`
|
|
TotalTime time.Duration `json:"totalTime"`
|
|
AvarageSpeed float64 `json:"avarageSpeed"`
|
|
LastSpeed float64 `json:"lastSpeed"`
|
|
}
|