Documentation
¶
Index ¶
- Variables
- func Delete(url string, timeout time.Duration) (*http.Response, error)
- func Do(req *http.Request, timeout time.Duration) (*http.Response, error)
- func Get(url string, timeout time.Duration) (*http.Response, error)
- func Head(url string, timeout time.Duration) (*http.Response, error)
- func Post(url string, body io.Reader, timeout time.Duration) (*http.Response, error)
- func Put(url string, body io.Reader, timeout time.Duration) (*http.Response, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var TimeoutError = errors.New("http get timeout")
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.