time.Time.Unix (method)
15 uses
time (current package)
time.go#L1192: func (t Time) Unix() int64 {
time.go#L1423: _, _, _, _, isDST := t.loc.lookup(t.Unix())
compress/gzip
gzip.go#L160: le.PutUint32(z.buf[4:8], uint32(z.ModTime.Unix()))
crypto/tls
handshake_client_tls13.go#L762: session.useBy = uint64(c.config.time().Add(lifetime).Unix())
ticket.go#L296: createdAt: uint64(c.config.time().Unix()),
github.com/gotd/td/internal/exchange
server_flow.go#L206: ServerTime: int(s.clock.Now().Unix()),
github.com/gotd/td/internal/mtproto/salts
salts.go#L29: date := int(deadline.Unix())
github.com/gotd/td/internal/mtproxy/faketls
client_hello.go#L117: old ^= uint32(now.Now().Unix())
github.com/gotd/td/tdp
tdp.go#L60: max = now.AddDate(0, 0, 7).Unix()
tdp.go#L61: min = now.AddDate(-2, 0, 0).Unix()
github.com/klauspost/compress/gzip
gzip.go#L192: le.PutUint32(z.buf[4:8], uint32(z.ModTime.Unix()))
net/http
fs.go#L532: if t.Unix() == modtime.Unix() {
server.go#L1805: packedState := uint64(time.Now().Unix()<<8) | uint64(state)
server.go#L2846: if st == StateNew && unixSec < time.Now().Unix()-5 {
|
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |