- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ConnectStart (0.07 sec)
-
internal/rest/rpc-stats.go
var dialStart, dialEnd int64 start := time.Now() trace := &httptrace.ClientTrace{ GotFirstResponseByte: func() { atomic.AddUint64(&globalStats.tcpTimeForFirstByteTotalDur, uint64(time.Since(start))) }, ConnectStart: func(network, addr string) { atomic.StoreInt64(&dialStart, time.Now().UnixNano()) }, ConnectDone: func(network, addr string, err error) { if err == nil { atomic.StoreInt64(&dialEnd, time.Now().UnixNano())
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 18:21:34 UTC 2024 - 2.6K bytes - Viewed (0)