Documentation
¶
Index ¶
- func BuildPingDevice(ctx context.Context, cfg *config.Pinger) func(device.Device) (PerformancePingResponseEvent, error)
- func PerformancePingerFilter(cfg *config.Pinger) device.DeviceFilter
- type PerfPingDevicesEvent
- type PerformancePingResponseEvent
- type TimeseriesAvgResponse
- type TimeseriesMaxResponse
- type TimeseriesPacketLoss
- type TimeseriesPoint
- type TsPointBase
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildPingDevice ¶
func PerformancePingerFilter ¶
func PerformancePingerFilter(cfg *config.Pinger) device.DeviceFilter
Types ¶
type PerfPingDevicesEvent ¶
type PerfPingDevicesEvent struct{}
type PerformancePingResponseEvent ¶
type PerformancePingResponseEvent struct {
Device device.Device
Stats nettools.Icmp4EchoResponseStatistics
Start time.Time
Duration time.Duration
}
func (PerformancePingResponseEvent) Points ¶
func (pre PerformancePingResponseEvent) Points() []TimeseriesPoint
type TimeseriesAvgResponse ¶
type TimeseriesAvgResponse TsPointBase
func (TimeseriesAvgResponse) GetName ¶
func (tar TimeseriesAvgResponse) GetName() string
func (TimeseriesAvgResponse) GetTime ¶
func (tar TimeseriesAvgResponse) GetTime() time.Time
func (TimeseriesAvgResponse) GetValue ¶
func (tar TimeseriesAvgResponse) GetValue() float64
func (TimeseriesAvgResponse) Hydrate ¶
func (tar TimeseriesAvgResponse) Hydrate(t int, v float64) TimeseriesPoint
type TimeseriesMaxResponse ¶
type TimeseriesMaxResponse TsPointBase
func (TimeseriesMaxResponse) GetName ¶
func (tmr TimeseriesMaxResponse) GetName() string
func (TimeseriesMaxResponse) GetTime ¶
func (tmr TimeseriesMaxResponse) GetTime() time.Time
func (TimeseriesMaxResponse) GetValue ¶
func (tmr TimeseriesMaxResponse) GetValue() float64
func (TimeseriesMaxResponse) Hydrate ¶
func (tmr TimeseriesMaxResponse) Hydrate(t int, v float64) TimeseriesPoint
type TimeseriesPacketLoss ¶
type TimeseriesPacketLoss TsPointBase
func (TimeseriesPacketLoss) GetName ¶
func (tpl TimeseriesPacketLoss) GetName() string
func (TimeseriesPacketLoss) GetTime ¶
func (tpl TimeseriesPacketLoss) GetTime() time.Time
func (TimeseriesPacketLoss) GetValue ¶
func (tpl TimeseriesPacketLoss) GetValue() float64
func (TimeseriesPacketLoss) Hydrate ¶
func (tpl TimeseriesPacketLoss) Hydrate(t int, v float64) TimeseriesPoint
type TimeseriesPoint ¶
type TsPointBase ¶
Click to show internal directories.
Click to hide internal directories.