tcp

package
v0.40.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package tcp implements a generic TCP reachability check: it connects to each target (optionally over TLS), measures the connect latency, and optionally checks the server banner. Reachability for anything that speaks TCP.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Check

type Check struct {
	// contains filtered or unexported fields
}

func New

func New(cfg engine.TCPConfig) *Check

func (*Check) Name

func (c *Check) Name() string

func (*Check) Run

func (c *Check) Run(ctx context.Context) []engine.Finding

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL