debug

package
v0.0.0-...-ee64981 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger = log.New(ioutil.Discard, "", 0)

All SDK debug information is written to this Logger. The logger is muted by default. To see the debug output assign your own logger (or a new one) to this variable.

Functions

func DumpCOAPRoundTrip

func DumpCOAPRoundTrip(conn *coap.ClientConn, req coap.Message, res coap.Message) (message string)

DumpCOAPRoundTrip will dump the given COAP connection, request message and response message

func DumpHTTPRoundTrip

func DumpHTTPRoundTrip(req *http.Request, res *http.Response) (message string)

DumpHTTPRoundTrip will dump the given HTTP request and response

Types

This section is empty.

Jump to

Keyboard shortcuts

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