Documentation
¶
Index ¶
- Constants
- func Delete(url string, headers map[string]string) ([]byte, error)
- func Get(url string, headers map[string]string, queryParams url.Values) ([]byte, error)
- func Head(url string) (resp *http.Response, err error)
- func Patch(url string, headers map[string]string, body io.Reader) ([]byte, error)
- func Post(url string, headers map[string]string, body io.Reader) ([]byte, error)
- func Put(url string, headers map[string]string, body io.Reader) ([]byte, error)
Constants ¶
View Source
const ( GET requestMethod = iota POST PUT PATCH DELETE )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.