Documentation ¶
Index ¶
- func AcceptJSON(h http.Handler) http.Handler
- func Auth(h http.Handler) http.Handler
- func NOOP(w http.ResponseWriter, r *http.Request)
- func PutSecureBrowserHeaders(h http.Handler) http.Handler
- type Pipeline
- func (p Pipeline) And(n ...Plug) Pipeline
- func (p Pipeline) Pass(h http.HandlerFunc) http.Handler
- func (p Pipeline) Path(method, path string, handler func(w http.ResponseWriter, r *http.Request)) Plug
- func (p Pipeline) PathDELETE(path string, handler func(w http.ResponseWriter, r *http.Request)) Plug
- func (p Pipeline) PathGET(path string, handler func(w http.ResponseWriter, r *http.Request)) Plug
- func (p Pipeline) PathPOST(path string, handler func(w http.ResponseWriter, r *http.Request)) Plug
- func (p Pipeline) PathPUT(path string, handler func(w http.ResponseWriter, r *http.Request)) Plug
- func (p Pipeline) Prefix(path string, handler func(w http.ResponseWriter, r *http.Request)) Plug
- type Plug
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.