proxy

package
v0.0.0-...-e0c7852 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrProxySchemeNotSupported = errors.New("proxy: scheme not supported")
)

Functions

This section is empty.

Types

type Proxy

type Proxy interface {
	Accept(net.Conn) (net.Conn, error)
}

func NewProxy

func NewProxy(scheme string, u *url.Userinfo) (Proxy, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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