const time.Second
45 uses
time (current package)
format.go#L1607: "s": uint64(Second),
time.go#L655: Second = 1000 * Millisecond
time.go#L656: Minute = 60 * Second
time.go#L684: if u < uint64(Second) {
time.go#L808: sec := d / Second
time.go#L809: nsec := d % Second
time.go#L918: d := Duration(t.sec()-u.sec())*Second + Duration(t.nsec()-u.nsec())
time.go#L1626: case d < Second && Second%(d+d) == 0:
time.go#L1631: case d%Second == 0:
time.go#L1632: d1 := int64(d / Second)
time.go#L1634: r = Duration(sec%d1)*Second + Duration(nsec)
crypto/tls
conn.go#L1469: c.SetWriteDeadline(time.Now().Add(time.Second * 5))
handshake_client_tls13.go#L877: lifetime := time.Duration(msg.lifetime) * time.Second
handshake_server_tls13.go#L901: m.lifetime = uint32(maxSessionTicketLifetime / time.Second)
github.com/coinbase/cdp-sdk/go/auth
jwt.go#L161: "exp": now.Add(time.Duration(options.ExpiresIn) * time.Second).Unix(),
jwt.go#L201: "exp": now.Add(time.Duration(options.ExpiresIn) * time.Second).Unix(),
github.com/golang-jwt/jwt/v5
types.go#L18: var TimePrecision = time.Second
types.go#L53: if TimePrecision < time.Second {
types.go#L54: prec = int(math.Log10(float64(time.Second) / float64(TimePrecision)))
types.go#L69: nanosecondsOffset := strconv.FormatFloat(float64(truncatedDate.Nanosecond())/float64(time.Second), 'f', prec, 64)
net
dial.go#L19: defaultTCPKeepAliveIdle = 15 * time.Second
dial.go#L23: defaultTCPKeepAliveInterval = 15 * time.Second
dial.go#L229: const saneMinimum = 2 * time.Second
dnsclient_unix.go#L401: if conf.lastChecked.After(now.Add(-5 * time.Second)) {
dnsconfig_unix.go#L22: timeout: 5 * time.Second,
dnsconfig_unix.go#L92: conf.timeout = time.Duration(n) * time.Second
hosts.go#L16: const cacheMaxAge = 5 * time.Second
interface.go#L211: if !force && zc.lastFetched.After(now.Add(-60*time.Second)) {
nss.go#L59: if conf.lastChecked.After(now.Add(-5 * time.Second)) {
tcpsockopt_unix.go#L23: secs := int(roundDurationUp(d, time.Second))
tcpsockopt_unix.go#L37: secs := int(roundDurationUp(d, time.Second))
net/http
fs.go#L520: modtime = modtime.Truncate(time.Second)
fs.go#L571: modtime = modtime.Truncate(time.Second)
h2_bundle.go#L3885: http2prefaceTimeout = 10 * time.Second
h2_bundle.go#L3886: http2firstSettingsTimeout = 2 * time.Second // should be in-flight with preface anyway
h2_bundle.go#L5283: var http2goAwayTimeout = 1 * time.Second
h2_bundle.go#L7394: return 15 * time.Second
h2_bundle.go#L7750: d := time.Second * time.Duration(backoff)
server.go#L3341: if max := 1 * time.Second; tempDelay > max {
transport.go#L47: Timeout: 30 * time.Second,
transport.go#L48: KeepAlive: 30 * time.Second,
transport.go#L52: IdleConnTimeout: 90 * time.Second,
transport.go#L53: TLSHandshakeTimeout: 10 * time.Second,
transport.go#L54: ExpectContinueTimeout: 1 * time.Second,
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |