Get the latest tech news
Tracing HTTP Requests with Go's net/HTTP/httptrace
been in the standard library since Go 1.7 and most Go developers I talk to have never used it. It exposes hooks for the points in an outgoing HTTP request that you usually cannot see from outside the transport: DNS resolution, connection acquisition, TLS handshake, the moment bytes go on the wire, the moment the first response byte comes back.
None
Or read this on Hacker News