Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLI ¶
type CLI struct {
Timeout time.Duration `help:"The timeout for each ping." short:"t" default:"5s"`
Duration time.Duration `help:"The duration of the test." short:"d" xor:"duration"`
Count int `help:"The number of pings to send." short:"c" default:"10" xor:"duration"`
Privileged bool `help:"Use privileged ICMP sockets." default:"false" short:"p"`
DataSize int `help:"The size of the data probe to send." short:"s" default:"1024"`
Target string `arg:"" help:"The target host to ping."`
}
Click to show internal directories.
Click to hide internal directories.