- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for WithClientTrace (0.17 sec)
-
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 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 18:21:34 UTC 2024 - 2.6K bytes - Viewed (0) -
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)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Jun 28 15:08:11 UTC 2016 - 13.6K bytes - Viewed (0)