debug

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 8 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

DecodeJSONHttpResponse debug json.Decoder

func DecodeXMLHttpResponse

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

DecodeXMLHttpResponse debug xml.Decoder

func PrintError

func PrintError(err error, debug bool)

PrintError print debug error

func PrintGetRequest

func PrintGetRequest(url string, debug bool)

PrintGetRequest print debug get request url

func PrintPostJSONRequest

func PrintPostJSONRequest(url string, data string, debug bool)

PrintPostJSONRequest print debug post json data

func PrintPostMultipartRequest

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

PrintPostMultipartRequest print debug multipart/form post body

func PrintStringResponse

func PrintStringResponse(str string, debug bool)

PrintStringResponse print debug string response

Types

This section is empty.

Jump to

Keyboard shortcuts

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