tcp

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NetworkLabel = "network"
	HostLabel    = "host"
	PortLabel    = "port"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Host    string
	Port    uint
	Network string
}

type TCP

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

func New

func New(cfg Config) *TCP

func (*TCP) Do

func (tcp *TCP) Do(ctx context.Context)

Jump to

Keyboard shortcuts

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