Documentation ¶ Overview ¶ Package proxy implements various proxy related utilities Index ¶ func Forward(ctx context.Context, conn net.Conn, addr netip.AddrPort) error 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. Source Files ¶ View all Source files forwarder.go Click to show internal directories. Click to hide internal directories.