tcp

package
v0.22.1 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TCP

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

TCP proxy

func New

func New(config *config.Config) *TCP

New return a new tcp proxy instance

func (*TCP) Start

func (t *TCP) Start()

Start listen and serve

func (*TCP) Stop

func (t *TCP) Stop()

Stop stop serve

Jump to

Keyboard shortcuts

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