const time.Hour
33 uses
time (current package)
format.go#L1366: "h": int64(Hour),
time.go#L607: Hour = 60 * Minute
time.go#L762: hour := d / Hour
time.go#L763: nsec := d % Hour
archive/zip
struct.go#L208: minOffset = -12 * time.Hour // E.g., Baker island at -12:00
struct.go#L209: maxOffset = +14 * time.Hour // E.g., Line island at +14:00
cloud.google.com/go/profiler
profiler.go#L99: maxBackoff = time.Hour
crypto/tls
common.go#L711: ticketKeyLifetime = 7 * 24 * time.Hour // 7 days
common.go#L715: ticketKeyRotation = 24 * time.Hour
common.go#L743: const maxSessionTicketLifetime = 7 * 24 * time.Hour
github.com/go-git/go-git/v5/utils/diff
diff.go#L22: return DoWithTimeout(src, dst, time.Hour)
github.com/go-redis/redis/v8/internal/pool
pool.go#L21: t := time.NewTimer(time.Hour)
github.com/go-redis/redis_rate/v9
rate.go#L41: case time.Hour:
rate.go#L66: Period: time.Hour,
golang.org/x/net/http2
transport.go#L2626: const hugeDuration = 365 * 24 * time.Hour
golang.org/x/net/internal/timeseries
timeseries.go#L24: 1 * time.Hour,
timeseries.go#L25: 6 * time.Hour,
timeseries.go#L26: 24 * time.Hour, // 1 day
timeseries.go#L27: 7 * 24 * time.Hour, // 1 week
timeseries.go#L28: 4 * 7 * 24 * time.Hour, // 4 weeks
timeseries.go#L29: 16 * 7 * 24 * time.Hour, // 16 weeks
golang.org/x/net/trace
events.go#L36: {1 * time.Hour, "errs<1h"},
events.go#L37: {10 * time.Hour, "errs<10h"},
events.go#L38: {24000 * time.Hour, "errors"},
golang.org/x/oauth2/google
jwt.go#L56: exp := iat.Add(time.Hour)
golang.org/x/oauth2/jws
jws.go#L63: c.Exp = now.Add(time.Hour).Unix()
google.golang.org/grpc/internal/grpcutil
encode_duration.go#L62: return strconv.FormatInt(div(t, time.Hour), 10) + "H"
google.golang.org/grpc/internal/transport
defaults.go#L38: defaultServerKeepaliveTime = 2 * time.Hour
http2_server.go#L690: defaultPingTimeout = 2 * time.Hour
http_util.go#L401: return time.Hour, true
http_util.go#L435: const maxHours = math.MaxInt64 / int64(time.Hour)
http_util.go#L436: if d == time.Hour && t > maxHours {
net/http
h2_bundle.go#L9130: const hugeDuration = 365 * 24 * time.Hour
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |