agentproxy

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package agentproxy provides self-contained TCP/TLS stream-to-local-port proxying. It is a leaf package so that both tunnel_server (the tunnel client) and agent_client can depend on it without forming an import cycle.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProxyTcp

func ProxyTcp(stream net.Conn, port string)

ProxyTcp dials 127.0.0.1:port and copies data bidirectionally to/from stream.

func ProxyTcpTls

func ProxyTcpTls(stream net.Conn, port, serverName string, skipTLSVerify bool)

ProxyTcpTls dials 127.0.0.1:port over TLS and copies data bidirectionally.

Types

This section is empty.

Jump to

Keyboard shortcuts

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