Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateHttpTimingTracer ¶
func GenerateHttpTimingTracer( traceable Traceable, debug debug.DebugLevel, ) *httptrace.ClientTrace
Types ¶
type Traceable ¶
type Traceable interface { SetDnsStartTimeInfo(time.Time, httptrace.DNSStartInfo) SetDnsDoneTimeInfo(time.Time, httptrace.DNSDoneInfo) SetConnectStartTime(time.Time) SetConnectDoneTimeError(time.Time, error) SetGetConnTime(time.Time) SetGotConnTimeInfo(time.Time, httptrace.GotConnInfo) SetTLSHandshakeStartTime(time.Time) SetTLSHandshakeDoneTimeState(time.Time, tls.ConnectionState) SetHttpWroteRequestTimeInfo(time.Time, httptrace.WroteRequestInfo) SetHttpResponseReadyTime(time.Time) }
Click to show internal directories.
Click to hide internal directories.