Versions in this module Expand all Collapse all go1 go1.18.10 Jan 10, 2023 Changes in this version + func WithClientTrace(ctx context.Context, trace *ClientTrace) context.Context + type ClientTrace struct + ConnectDone func(network, addr string, err error) + ConnectStart func(network, addr string) + DNSDone func(DNSDoneInfo) + DNSStart func(DNSStartInfo) + GetConn func(hostPort string) + Got100Continue func() + Got1xxResponse func(code int, header textproto.MIMEHeader) error + GotConn func(GotConnInfo) + GotFirstResponseByte func() + PutIdleConn func(err error) + TLSHandshakeDone func(tls.ConnectionState, error) + TLSHandshakeStart func() + Wait100Continue func() + WroteHeaderField func(key string, value []string) + WroteHeaders func() + WroteRequest func(WroteRequestInfo) + func ContextClientTrace(ctx context.Context) *ClientTrace + type DNSDoneInfo struct + Addrs []net.IPAddr + Coalesced bool + Err error + type DNSStartInfo struct + Host string + type GotConnInfo struct + Conn net.Conn + IdleTime time.Duration + Reused bool + WasIdle bool + type WroteRequestInfo struct + Err error