Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GenericAggregateMeasurement ¶
type GenericAggregateMeasurement struct {
MeasurementType string `xml:"measurement-type"`
MeasurementSamples int64 `xml:"measurement-samples"`
MeasurementMin int64 `xml:"measurement-min"`
MeasurementMax int64 `xml:"measurement-max"`
MeasurementAvg int64 `xml:"measurement-avg"`
MeasurementStddev int64 `xml:"measurement-stddev"`
}
GenericAggregateMeasurement holds specific measurement statistics
type GenericAggregateResults ¶
type GenericAggregateResults struct {
AggregateType string `xml:"aggregate-type"`
NumSamplesTx int64 `xml:"num-samples-tx"`
NumSamplesRx int64 `xml:"num-samples-rx"`
LossPercentage float64 `xml:"loss-percentage"`
GenericAggregateMeasurement []GenericAggregateMeasurement `xml:"generic-aggregate-measurement"` // Slice for multiple measurements
}
GenericAggregateResults holds aggregated data for different periods
type GenericSampleResults ¶
type GenericSampleResults struct {
SampleStatus string `xml:"sample-status"`
SampleTxTime string `xml:"sample-tx-time"` // Consider using time.Time with custom unmarshalling if needed
SampleRxTime string `xml:"sample-rx-time"` // Consider using time.Time with custom unmarshalling if needed
OffloadStatus string `xml:"offload-status"`
RTT int64 `xml:"rtt"`
RTTJitter int64 `xml:"rtt-jitter"`
}
GenericSampleResults holds individual sample data
Click to show internal directories.
Click to hide internal directories.