Documentation ¶ Index ¶ func ICMPPing(ctx context.Context, host net.Addr, count int, timeoutMs int) func TCPPing(ctx context.Context, host string, port int, count int, timeout time.Duration) func UDPPing(ctx context.Context, host string, port int, timeout time.Duration, ...) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ICMPPing ¶ func ICMPPing(ctx context.Context, host net.Addr, count int, timeoutMs int) func TCPPing ¶ func TCPPing(ctx context.Context, host string, port int, count int, timeout time.Duration) func UDPPing ¶ func UDPPing(ctx context.Context, host string, port int, timeout time.Duration, protocol string, count int) Generalized function to send UDP packets based on protocol Types ¶ This section is empty. Source Files ¶ View all Source files icmp.gotcp.goudp.go Click to show internal directories. Click to hide internal directories.