time.Duration.Seconds (method)
5 uses
time (current package)
time.go#L1090: func (d Duration) Seconds() float64 {
github.com/gotd/td/mtproto
ping.go#L120: return c.pingInterval, int((c.pingInterval + c.pingTimeout).Seconds())
github.com/gotd/td/telegram
invoke.go#L72: m.invokeDuration.Record(ctx, c.now().Sub(start).Seconds(), m.invokeResult(ctx, err)...)
sub_conns.go#L212: m.poolDuration.Record(ctx, elapsed.Seconds(), metric.WithAttributes(
github.com/gotd/td/telegram/downloader
metrics.go#L207: o.duration.Record(ctx, time.Since(start).Seconds(), o.kindAttrs[k])
![]() |
The pages are generated with Golds v0.8.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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |