Documentation ¶
Index ¶
- func DefaultHeaders(next http.Handler) http.Handler
- func ParseJSON(rc io.Reader, object interface{}) error
- func SendHTTPGETRequest(url string, headers map[string]string, debug bool) (*http.Response, error)
- func SendHTTPPOSTRequest(url string, headers map[string]string, messageBody []byte, debug bool) (*http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultHeaders ¶
DefaultHeaders is a wrapper function setting the reponse headers
func SendHTTPGETRequest ¶
SendHTTPGETRequest allows easy send of http GET requests. Automatically takes care of retrying
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.