time.Time.Unix (method)
16 uses
time (current package)
time.go#L1241: func (t Time) Unix() int64 {
time.go#L1472: _, _, _, _, 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#L899: session.useBy = uint64(c.config.time().Add(lifetime).Unix())
ticket.go#L297: createdAt: uint64(c.config.time().Unix()),
github.com/coinbase/cdp-sdk/go/auth
jwt.go#L159: "nbf": now.Unix(),
jwt.go#L160: "iat": now.Unix(),
jwt.go#L161: "exp": now.Add(time.Duration(options.ExpiresIn) * time.Second).Unix(),
jwt.go#L199: "nbf": now.Unix(),
jwt.go#L200: "iat": now.Unix(),
jwt.go#L201: "exp": now.Add(time.Duration(options.ExpiresIn) * time.Second).Unix(),
github.com/golang-jwt/jwt/v5
types.go#L68: seconds := strconv.FormatInt(truncatedDate.Unix(), 10)
net/http
fs.go#L603: if t.Unix() == modtime.Unix() {
server.go#L1884: packedState := uint64(time.Now().Unix()<<8) | uint64(state)
server.go#L3109: if st == StateNew && unixSec < time.Now().Unix()-5 {
 |
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. |