Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for WithClientTrace (0.23 sec)

  1. internal/rest/rpc-stats.go

    		},
    		ConnectDone: func(network, addr string, err error) {
    			if err == nil {
    				atomic.StoreInt64(&dialEnd, time.Now().UnixNano())
    			}
    		},
    	}
    
    	return req.WithContext(httptrace.WithClientTrace(req.Context(), trace)), func() {
    		if ds := atomic.LoadInt64(&dialStart); ds > 0 {
    			if de := atomic.LoadInt64(&dialEnd); de == 0 {
    				atomic.AddUint64(&globalStats.tcpDialErrs, 1)
    			} else if de >= ds {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Sep 29 16:27:58 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  2. api/go1.7.txt

    pkg net/http/httptest, method (*ResponseRecorder) Result() *http.Response
    pkg net/http/httptrace, func ContextClientTrace(context.Context) *ClientTrace
    pkg net/http/httptrace, func WithClientTrace(context.Context, *ClientTrace) context.Context
    pkg net/http/httptrace, type ClientTrace struct
    pkg net/http/httptrace, type ClientTrace struct, ConnectDone func(string, string, error)
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Jun 28 15:08:11 GMT 2016
    - 13.6K bytes
    - Viewed (0)
Back to top