Documentation ¶ Index ¶ type Dialer type Resolver type TCPOptions type TCPProbe func NewTCPProbe(name, endpoint string, opts TCPOptions) TCPProbe func (p TCPProbe) Check(ctx context.Context) error func (p TCPProbe) Name() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Dialer ¶ type Dialer interface { DialContext(context.Context, string, string) (net.Conn, error) } type Resolver ¶ type Resolver interface { LookupIPAddr(context.Context, string) ([]net.IPAddr, error) } type TCPOptions ¶ type TCPOptions struct { Timeout time.Duration Resolver Resolver Dialer Dialer } type TCPProbe ¶ type TCPProbe struct { // contains filtered or unexported fields } func NewTCPProbe ¶ func NewTCPProbe(name, endpoint string, opts TCPOptions) TCPProbe func (TCPProbe) Check ¶ func (p TCPProbe) Check(ctx context.Context) error func (TCPProbe) Name ¶ func (p TCPProbe) Name() string Source Files ¶ View all Source files tcpprobe.go Click to show internal directories. Click to hide internal directories.