Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TraceLog ¶
type TraceLog struct { Events []TraceEvent // contains filtered or unexported fields }
TraceLog logs the events which occur during an HTTP client request
func (*TraceLog) ClientTrace ¶
func (log *TraceLog) ClientTrace() *httptrace.ClientTrace
Return a net/http/httptrace.ClientTrace which stores the events in log.Events.
Click to show internal directories.
Click to hide internal directories.