Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client adds http request timings as part of the http response
type Timings ¶
type Timings struct {
DNSLookup,
TCPConnection,
TLSHandshake,
ServerProcessing,
ContentTransfer time.Duration
}
Timings holds the timings data for a http request
type Tracer ¶
type Tracer struct {
// contains filtered or unexported fields
}
Tracer stores http request timings
func (*Tracer) Tracer ¶
func (t *Tracer) Tracer() *httptrace.ClientTrace
Tracer returns a new httptrace.ClientTrace
Click to show internal directories.
Click to hide internal directories.