proxy

package
v0.5.12 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package proxy implements various proxy related utilities

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Forward

func Forward(ctx context.Context, conn net.Conn, addr netip.AddrPort) error

Forward will take a context, a "downstream" net.Conn and a netip.Addr it will create a new connection "upstream" and it will move bytes between the two. Practically it will proxy between the two connections

Types

This section is empty.

Jump to

Keyboard shortcuts

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