Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HopStatistic ¶
type HopStatistic struct { Dest *net.IPAddr Timeout time.Duration PID int Sent int TTL int Targets []string Last icmp.ICMPReturn Best icmp.ICMPReturn Worst icmp.ICMPReturn SumElapsed time.Duration Lost int Packets *ring.Ring RingBufferSize int // contains filtered or unexported fields }
func (*HopStatistic) Avg ¶
func (h *HopStatistic) Avg() float64
func (*HopStatistic) Loss ¶
func (h *HopStatistic) Loss() float64
func (*HopStatistic) MarshalJSON ¶
func (h *HopStatistic) MarshalJSON() ([]byte, error)
func (*HopStatistic) Render ¶
func (h *HopStatistic) Render(ptrLookup bool)
func (*HopStatistic) Stdev ¶
func (h *HopStatistic) Stdev() float64
Click to show internal directories.
Click to hide internal directories.