proxy

package
v0.0.0-...-cf9474d Latest Latest
Warning

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

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

Documentation

Overview

Package proxy provides Dial and Listen functions that behave like net.Dial and net.Listen, but all connections are made through a multiplexing proxy service that provides a virtual address space. Addresses obtained through this package should be treated as opaque strings, even though they look like regular IP addresses.

The package registers a "-proxy" command-line flag that specifies the address of the proxy service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dial

func Dial(address string) (net.Conn, error)

Dial opens a connection to the specified address.

func Listen

func Listen() (net.Listener, error)

Listen opens a listening socket. Use the Addr method of the returned Listener to obtain the listen address.

Types

This section is empty.

Directories

Path Synopsis
The server command is a multiplexer service for proxied TCP connections.
The server command is a multiplexer service for proxied TCP connections.

Jump to

Keyboard shortcuts

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