Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(response *http.Response, successReceiver, errorReceiver interface{}, logger *logrus.Entry, debugMode bool) error
Get retrieves the HTTP response body. If the response is successful the body is written into "successReceiver". If not it is written into "errorReceiver". The type of value that is written depends on the response Content-Type.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.