local

package
v0.0.0-...-252457d Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2019 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Proxy

type Proxy struct {
	Dial func(address string) (net.Conn, error)
	// contains filtered or unexported fields
}

func NewClientProxy

func NewClientProxy(proxy string, useTLS bool, blacklist *util.BlackList) *Proxy

NewClientProxy 创建本地的客户端代理

func (*Proxy) ServeHTTP

func (p *Proxy) ServeHTTP(w http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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