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)
Click to show internal directories.
Click to hide internal directories.