Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DebugPrinter ¶
type DebugPrinter struct {
// contains filtered or unexported fields
}
func (DebugPrinter) PrintError ¶
func (p DebugPrinter) PrintError(err error)
func (DebugPrinter) PrintRequest ¶
func (p DebugPrinter) PrintRequest(req *http.Request)
func (DebugPrinter) PrintResponse ¶
func (p DebugPrinter) PrintResponse(resp *http.Response)
type RequestLoggerOutput ¶
type RequestLoggerOutput interface { Start() error Stop() error DisplayType(name string, requestDate time.Time) error DisplayDump(dump string) error DisplayHost(name string) error DisplayRequestHeader(method string, uri string, httpProtocol string) error DisplayResponseHeader(httpProtocol string, status string) error }
Click to show internal directories.
Click to hide internal directories.