forked from projectdiscovery/retryablehttp-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtrace.go
More file actions
26 lines (23 loc) · 616 Bytes
/
trace.go
File metadata and controls
26 lines (23 loc) · 616 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package retryablehttp
import (
"time"
)
type TraceEventInfo struct {
Time time.Time
Info interface{}
}
type TraceInfo struct {
GotConn TraceEventInfo
DNSDone TraceEventInfo
GetConn TraceEventInfo
PutIdleConn TraceEventInfo
GotFirstResponseByte TraceEventInfo
Got100Continue TraceEventInfo
DNSStart TraceEventInfo
ConnectStart TraceEventInfo
ConnectDone TraceEventInfo
TLSHandshakeStart TraceEventInfo
TLSHandshakeDone TraceEventInfo
WroteHeaders TraceEventInfo
WroteRequest TraceEventInfo
}