responsegetter

package
v6.7.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL