debug

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeJSONHttpResponse

func DecodeJSONHttpResponse(r io.Reader, v interface{}, debug bool) error

func PrintError

func PrintError(err error, debug bool)

func PrintGetRequest

func PrintGetRequest(url string, debug bool)

func PrintPostJSONRequest

func PrintPostJSONRequest(url string, body []byte, debug bool)

func PrintPostMultipartRequest

func PrintPostMultipartRequest(url string, body []byte, debug bool)

func PrintStringResponse

func PrintStringResponse(str string, debug bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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