Categorygithub.com/jroimartin/proxy
modulepackage
1.2.5
Repository: https://github.com/jroimartin/proxy.git
Documentation: pkg.go.dev

# README

Proxy

Go Reference

Package proxy implements a proxy server.

# Packages

No description provided by the author

# Functions

ParseStream parses a string representing a bidirectional data stream with the format <listener>,<target>.

# Variables

ErrDuplicatedStream is returned by the *Group.ListenAndServe method when it is called with duplicated streams.
ErrGroupClosed is sent to the channel returned by the *Group.ListenAndServe method after a call to *Group.Close.
ErrProxyClosed is returned by the *Proxy.Serve and *Proxy.ListenAndServe methods after a call to *Proxy.Close.
ErrProxyListening is returned by the *Proxy.Serve and *Proxy.ListenAndServe methods if the Proxy is already listening.
ErrProxyNotListening is returned by the *Proxy.Close method if the listener has not been set yet or if it has been already closed.

# Structs

Group represents a group of proxy servers.
Proxy represents a proxy server.
Stream represents a bidirectional data stream.