Documentation
¶
Overview ¶
Package icmp provides icmp enhanced methods based on the golang icmp package
Index ¶
Constants ¶
View Source
const ( ProtocolIPv4ICMP = 1 // IANA ICMP for IPv4 ProtocolIPv6ICMP = 58 // IANA ICMP for IPv6 )
IANA ICMP
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Ping ¶
Ping represents ping request
func (*Ping) Run ¶ added in v0.1.9
Run loops the ping and print it out
type Response ¶ added in v0.1.9
Result represent ping response
Click to show internal directories.
Click to hide internal directories.