Documentation
¶
Index ¶
- Variables
- func Get(url string) (resp *http.Response, err error)
- func Post(url, contentType string, body io.Reader) (resp *http.Response, err error)
- func PostForm(url string, data url.Values) (resp *http.Response, err error)
- type Client
- func (c *Client) Do(req *http.Request) (*http.Response, error)
- func (c *Client) Get(url string) (resp *http.Response, err error)
- func (c *Client) Post(url, contentType string, body io.Reader) (resp *http.Response, err error)
- func (c *Client) PostForm(url string, data url.Values) (resp *http.Response, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultClient = &Client{ Transport: &net_http.Transport{}, }
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.