Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Timings ¶
type Timings struct { DNSDuration time.Duration // DNS lookup duration ConnectionDialDuration time.Duration // Duration of time it takes to establish connection to destination server TLSDuration time.Duration // Duration of TLS handshake TotalConnectionDuration time.Duration // Total connection setup (DNS lookup, Dial up and TLS) duration RequestWriteDuration time.Duration // Request write duration, from successful connection to completing write ResponseDelayDuration time.Duration // Delay duration between request being written and first byte of response being received ResponseReadDuration time.Duration // Response read duration, from receiving first byte of response to completing read TotalRequestDuration time.Duration // Total duration of the request (sending request, receiving and parsing response) // contains filtered or unexported fields }
type Trace ¶
type Trace struct {
// contains filtered or unexported fields
}
func (*Trace) GetResponse ¶
func (*Trace) GetResponseBody ¶
func (*Trace) GetTimings ¶
func (*Trace) SetHeaders ¶
Click to show internal directories.
Click to hide internal directories.