Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientResults ¶
type ClientResults map[string]PingResult
ClientResults PingParsing Client Result map
type ICMPReply ¶
type ICMPReply struct { Timestamp string `json:"timestamp"` ICMPSeq int64 `json:"icmp_seq"` TTL int64 `json:"ttl"` Time float64 `json:"time"` Duplicate bool `json:"duplicate"` }
ICMPReply ICMP reply entry
type PingResult ¶
type PingResult struct { Destination string `json:"destination"` PacketTransmit int64 `json:"packet_transmit"` PacketReceive int64 `json:"packet_receive"` PacketLossRate float64 `json:"packet_loss_rate"` PacketLossCount int64 `json:"packet_loss_count"` RTTMin float64 `json:"rtt_min"` RTTAvg float64 `json:"rtt_avg"` RTTMax float64 `json:"rtt_max"` RTTMDev float64 `json:"rtt_mdev"` PacketDuplicateRate float64 `json:"packet_duplicate_rate"` PacketDuplicateCount int64 `json:"packet_duplicate_count"` ICMPReplies []ICMPReply `json:"icmp_replies"` }
PingResult Ping target client results structure
Click to show internal directories.
Click to hide internal directories.