github.com/gotd/td/clock.Clock.Now (method)

20 uses

	github.com/gotd/td/clock (current package)
		clock.go#L12: 	Now() time.Time

	github.com/gotd/td/internal/exchange
		client_flow.go#L69: 	start := c.clock.Now()
		client_flow.go#L76: 	c.log.Debug("PQ decomposing complete", zap.Duration("took", c.clock.Now().Sub(start)))
		proto.go#L31: 		MessageID:   int64(proto.NewMessageID(w.clock.Now(), w.output)),
		server_flow.go#L206: 		ServerTime:  int(s.clock.Now().Unix()),

	github.com/gotd/td/internal/mtproto
		connect.go#L33: 		start := c.clock.Now()
		connect.go#L39: 			zap.Duration("duration", c.clock.Now().Sub(start)),
		handle_session_created.go#L20: 	now := c.clock.Now()
		options.go#L151: 		opt.MessageID = proto.NewMessageIDGen(opt.Clock.Now)
		read.go#L63: 	if err := checkMessageID(c.clock.Now(), msg.MessageID); err != nil {
		salt.go#L26: 	salt, ok := c.salts.Get(c.clock.Now().Add(time.Minute * 5))

	github.com/gotd/td/internal/mtproxy/faketls
		client_hello.go#L117: 	old ^= uint32(now.Now().Unix())

	github.com/gotd/td/internal/tdsync
		log_group.go#L41: 		start := g.clock.Now()
		log_group.go#L46: 			elapsed := g.clock.Now().Sub(start)
		log_group.go#L51: 		elapsed := g.clock.Now().Sub(start)

	github.com/gotd/td/telegram
		options.go#L131: 		opt.MessageID = proto.NewMessageIDGen(opt.Clock.Now)

	github.com/gotd/td/telegram/auth/qrlogin
		qrlogin.go#L143: 		return token.Expires().Sub(q.clock.Now()).Truncate(time.Second)

	github.com/gotd/td/telegram/internal/manager
		conn.go#L97: 	start := c.clock.Now()
		conn.go#L110: 		end := c.clock.Now()
		conn.go#L240: 	c.latest = c.clock.Now()