proxy

package
v0.0.0-...-622ad5a Latest Latest
Warning

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

Go to latest
Published: May 3, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DummyResponseWriter

type DummyResponseWriter struct {
}

func (*DummyResponseWriter) Header

func (d *DummyResponseWriter) Header() http.Header

func (*DummyResponseWriter) Write

func (d *DummyResponseWriter) Write(buf []byte) (int, error)

func (*DummyResponseWriter) WriteHeader

func (d *DummyResponseWriter) WriteHeader(header int)

type Option

type Option func(*Tee) error

type Tee

type Tee struct {
	// contains filtered or unexported fields
}

func New

func New(next http.Handler) (*Tee, error)

func (*Tee) ServeHTTP

func (t *Tee) 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