Documentation
¶
Index ¶
- Variables
- func Delete(url string, path string, headers map[string]string) (*http.Response, []byte, error)
- func DeleteAsync(url string, path string, headers map[string]string) (*http.Response, error)
- func Get(url string, path string, headers map[string]string) (*http.Response, []byte, error)
- func GetAsync(url string, path string, headers map[string]string) (*http.Response, error)
- func GetWithUnmarshal(url string, path string, headers map[string]string, jsonObject interface{}) (*http.Response, []byte, error)
- func Post(url string, path string, headers map[string]string, message interface{}) (*http.Response, []byte, error)
- func PostAsync(url string, path string, headers map[string]string, message interface{}) (*http.Response, error)
- func PostAsyncFile(url, path, fileKey, pathToFile string) (*http.Response, error)
- func PostFile(url, path, fileKey, pathToFile string) (*http.Response, []byte, error)
- func PostWithUnmarshal(url string, path string, headers map[string]string, ...) (*http.Response, []byte, error)
- func UseBasicAuth(username, password string)
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultRetries = 5
Functions ¶
func DeleteAsync ¶
func GetWithUnmarshal ¶
func PostAsyncFile ¶
func PostWithUnmarshal ¶
func UseBasicAuth ¶
func UseBasicAuth(username, password string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.