Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for DNSDoneInfo (0.17 sec)

  1. src/net/http/httptrace/example_test.go

    	trace := &httptrace.ClientTrace{
    		GotConn: func(connInfo httptrace.GotConnInfo) {
    			fmt.Printf("Got Conn: %+v\n", connInfo)
    		},
    		DNSDone: func(dnsInfo httptrace.DNSDoneInfo) {
    			fmt.Printf("DNS Info: %+v\n", dnsInfo)
    		},
    	}
    	req = req.WithContext(httptrace.WithClientTrace(req.Context(), trace))
    	_, err := http.DefaultTransport.RoundTrip(req)
    	if err != nil {
    		log.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 05:11:45 UTC 2016
    - 712 bytes
    - Viewed (0)
  2. api/go1.7.txt

    pkg net/http/httptrace, type ClientTrace struct, WroteRequest func(WroteRequestInfo)
    pkg net/http/httptrace, type DNSDoneInfo struct
    pkg net/http/httptrace, type DNSDoneInfo struct, Addrs []net.IPAddr
    pkg net/http/httptrace, type DNSDoneInfo struct, Coalesced bool
    pkg net/http/httptrace, type DNSDoneInfo struct, Err error
    pkg net/http/httptrace, type DNSStartInfo struct
    pkg net/http/httptrace, type DNSStartInfo struct, Host string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 28 15:08:11 UTC 2016
    - 13.6K bytes
    - Viewed (0)
  3. src/net/http/httptrace/trace.go

    		})
    		tv.Field(i).Set(newFunc)
    	}
    }
    
    // DNSStartInfo contains information about a DNS request.
    type DNSStartInfo struct {
    	Host string
    }
    
    // DNSDoneInfo contains information about the results of a DNS lookup.
    type DNSDoneInfo struct {
    	// Addrs are the IPv4 and/or IPv6 addresses found in the DNS
    	// lookup. The contents of the slice should not be mutated.
    	Addrs []net.IPAddr
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. src/net/http/transport_test.go

    		PutIdleConn:          func(err error) { logf("PutIdleConn = %v", err) },
    		DNSStart:             func(e httptrace.DNSStartInfo) { logf("DNS start: %+v", e) },
    		DNSDone:              func(e httptrace.DNSDoneInfo) { logf("DNS done: %+v", e) },
    		ConnectStart:         func(network, addr string) { logf("ConnectStart: Connecting to %s %s ...", network, addr) },
    		ConnectDone: func(network, addr string, err error) {
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"ClientTrace.WroteHeaders", Field, 7},
    		{"ClientTrace.WroteRequest", Field, 7},
    		{"ContextClientTrace", Func, 7},
    		{"DNSDoneInfo", Type, 7},
    		{"DNSDoneInfo.Addrs", Field, 7},
    		{"DNSDoneInfo.Coalesced", Field, 7},
    		{"DNSDoneInfo.Err", Field, 7},
    		{"DNSStartInfo", Type, 7},
    		{"DNSStartInfo.Host", Field, 7},
    		{"GotConnInfo", Type, 7},
    		{"GotConnInfo.Conn", Field, 7},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top