Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPoolSize ¶
func GetPoolSize() int
func SetPoolSize ¶
func SetPoolSize(sz int)
Types ¶
type EchoReply ¶
type EchoReply struct { Cycle int Target *Target Rtt float64 Bytes int Peer net.IP Seq int TTL int Err error }
64 bytes from 200.221.2.45: icmp_seq=2 ttl=53 time=25.291 ms
type Settings ¶
type Settings struct { Bytes int //Byte ammout to send in the icmp Message TOS int //The DSCP code to set in the IP Header TTL int //THe time to live value to set in the IP Header Timeout time.Duration //THe maximum ammount of time to wait for an answer CyclesCount int //How many times to ping the TargetList CyclesInterval time.Duration //The mimnum interval between cycles }
Ping Settings
type Summary ¶
type Summary struct { Target *Target //The target device Sent float64 //The number of ping sents Recv float64 //The number of succesful replies received Max float64 //The maximum rtt Min float64 //The minimum rtt Avg float64 //The average rtt }
The summary of all requests for a target
Click to show internal directories.
Click to hide internal directories.