proxy

package
v0.0.0-...-340dccc Latest Latest
Warning

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

Go to latest
Published: May 5, 2018 License: BSD-2-Clause Imports: 6 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 {
	RequestFilter  func(req *http.Request)
	ResponseFilter func(resp *http.Response)
	// contains filtered or unexported fields
}

func New

func New(certs *mitm.CertPool, roundTripper http.RoundTripper) *Proxy

func (*Proxy) Serve

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

Jump to

Keyboard shortcuts

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