Documentation ¶ Index ¶ func Get(response *http.Response, successReceiver, errorReceiver interface{}) (bool, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Get ¶ func Get(response *http.Response, successReceiver, errorReceiver interface{}) (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. Source Files ¶ View all Source files responsegetter.go Click to show internal directories. Click to hide internal directories.