tcp

package
v0.0.0-...-b695ea1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2026 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ContentTypeHandshake = 0x16

	MessageTypeClientHello = 1

	ExtensionServerName uint16 = 0
)

Variables

This section is empty.

Functions

func ForwardHTTP

func ForwardHTTP(clientConn *net.TCPConn)

func ForwardTLS

func ForwardTLS(clientConn *net.TCPConn)

func SniffHostAndForward

func SniffHostAndForward(sniffer func(incomingData io.Reader) (hostname string, err error), clientConn *net.TCPConn)

Types

This section is empty.

Jump to

Keyboard shortcuts

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