Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialized ¶
func Initialized() bool
func NewHTTPClient ¶
NewHTTPClient creates an HTTP client with debug logging enabled when debug mode is on.
func RecoverPanic ¶
func RecoverPanic(name string, cleanup func())
Types ¶
type HTTPRoundTripLogger ¶
type HTTPRoundTripLogger struct {
Transport http.RoundTripper
}
HTTPRoundTripLogger is an http.RoundTripper that logs requests and responses.
Click to show internal directories.
Click to hide internal directories.