github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/app/observatory/burst/burst.go (about) 1 package burst 2 3 import ( 4 "math" 5 "time" 6 ) 7 8 //go:generate go run github.com/v2fly/v2ray-core/v5/common/errors/errorgen 9 10 const ( 11 rttFailed = time.Duration(math.MaxInt64 - iota) 12 rttUntested // nolint: varcheck 13 rttUnqualified // nolint: varcheck 14 )