Documentation
¶
Index ¶
- Variables
- func DoGET(url string, headers map[string]string, out interface{}) error
- func DoJSONRequest(method, url string, body io.Reader, headers map[string]string, ...) error
- func DoPOST(url string, data interface{}, headers map[string]string, expectStatus int, ...) error
- func DoRequest(method, url string, body io.Reader, headers map[string]string) (*http.Response, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var HttpClient = &http.Client{ Timeout: 180 * time.Second, }
Functions ¶
func DoJSONRequest ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.