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 Target 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) Next ¶
func (s *HopStatistic) Next(srcAddr string)
func (*HopStatistic) Render ¶
func (h *HopStatistic) Render(ptrLookup bool)
Click to show internal directories.
Click to hide internal directories.