Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppInfo ¶
AppInfo contains an application level measurement. This structure is described in the ndt7 specification.
type ArchivalData ¶ added in v0.10.0
type ArchivalData struct { UUID string StartTime time.Time EndTime time.Time ServerMeasurements []Measurement ClientMeasurements []Measurement ClientMetadata []metadata.NameValue `json:",omitempty"` ServerMetadata []metadata.NameValue `json:",omitempty"` }
ArchivalData saves all instantaneous measurements over the lifetime of a test.
type BBRInfo ¶
The BBRInfo struct contains information measured using BBR. This structure is an extension to the ndt7 specification. Variables here have the same measurement unit that is used by the Linux kernel.
type ConnectionInfo ¶ added in v0.9.0
ConnectionInfo contains connection info. This structure is described in the ndt7 specification.
type Measurement ¶
type Measurement struct { AppInfo *AppInfo `json:",omitempty"` ConnectionInfo *ConnectionInfo `json:",omitempty" bigquery:"-"` BBRInfo *BBRInfo `json:",omitempty"` TCPInfo *TCPInfo `json:",omitempty"` }
The Measurement struct contains measurement results. This structure is meant to be serialised as JSON as sent as a textual message. This structure is specified in the ndt7 specification.
type TCPInfo ¶
type TCPInfo struct { tcp.LinuxTCPInfo ElapsedTime int64 }
The TCPInfo struct contains information measured using TCP_INFO. This structure is described in the ndt7 specification.