Documentation ¶
Index ¶
- func Do(c *http.Client, req *http.Request) (*http.Response, error)
- func Get(c *http.Client, url string) (*http.Response, error)
- func Handler(h http.Handler, name string) http.Handler
- func HandlerFuncWithNext(w http.ResponseWriter, r *http.Request, next http.HandlerFunc, name string)
- func Head(c *http.Client, url string) (*http.Response, error)
- func Post(c *http.Client, url string, contentType string, body io.Reader) (resp *http.Response, err error)
- func PostForm(c *http.Client, url string, data url.Values) (resp *http.Response, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandlerFuncWithNext ¶
func HandlerFuncWithNext(w http.ResponseWriter, r *http.Request, next http.HandlerFunc, name string)
HandlerFuncWithNext for integration with github.com/urfave/negroni.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.