Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPRequest ¶
func HTTPRequest[T interface{}](method, uri string, query map[string]string, headers map[string]string, body io.Reader, response *T) error
HTTPRequest will make an HTTP `method` request to `uri`, and include `query` as the query params, `headers` as the headers and `body` as the body. It will parse the result into the response
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.