commonfilter

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetException added in v0.0.2

func SetException(addr string) optSetter

Types

type CommonFilter

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

func New

func New(next http.Handler, testingLocalhost bool, setters ...optSetter) (*CommonFilter, error)

func (*CommonFilter) ServeHTTP

func (f *CommonFilter) 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