Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultTCPPort = 80
DefaultTCPPort is the well-known port for generic TCP probes.
View Source
const ProtocolName = "tcp"
ProtocolName is the registered name for the TCP protocol.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TCP ¶
type TCP struct{}
TCP implements a generic TCP dial-and-close probe. It measures connection latency without sending any application data.
func (*TCP) DefaultPort ¶
func (*TCP) Description ¶
Click to show internal directories.
Click to hide internal directories.