Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BySeq ¶ added in v1.1.0
type BySeq []*Stat
BySeq implements sort.Interface for []*Stat based on the Seq field.
type Record ¶
type Record struct {
// contains filtered or unexported fields
}
Record is a record of packets.
type Stat ¶ added in v1.1.0
type Stat struct {
// Latency for the transfer.
Latency time.Duration
// Total time for the transfer.
Rtt time.Duration
// Bandwidth for the transfer.
Bandwidth float64
// The sequence number of the transfer.
Seq int
}
Stats contains the statistics of a transfer.
func ProcessStats ¶ added in v1.1.0
Click to show internal directories.
Click to hide internal directories.