Documentation ¶
Index ¶
- func DecodeJSONHttpResponse(r io.Reader, v interface{}, debug bool) error
- func DecodeXMLHttpResponse(r io.Reader, v interface{}, debug bool) error
- func PrintError(err error, debug bool)
- func PrintGetRequest(url string, debug bool)
- func PrintPostJSONRequest(url string, data string, debug bool)
- func PrintPostMultipartRequest(url string, body []byte, debug bool)
- func PrintStringResponse(str string, debug bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeJSONHttpResponse ¶
DecodeJSONHttpResponse debug json.Decoder
func DecodeXMLHttpResponse ¶
DecodeXMLHttpResponse debug xml.Decoder
func PrintGetRequest ¶
PrintGetRequest print debug get request url
func PrintPostJSONRequest ¶
PrintPostJSONRequest print debug post json data
func PrintPostMultipartRequest ¶
PrintPostMultipartRequest print debug multipart/form post body
func PrintStringResponse ¶
PrintStringResponse print debug string response
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.