func go.uber.org/zap.Duration
13 uses
go.uber.org/zap (current package)
field.go#L383: func Duration(key string, val time.Duration) Field {
field.go#L393: return Duration(key, *val)
field.go#L597: c = anyFieldC[time.Duration](Duration)
github.com/gotd/td/internal/exchange
client_flow.go#L76: c.log.Debug("PQ decomposing complete", zap.Duration("took", c.clock.Now().Sub(start)))
github.com/gotd/td/internal/mtproto
connect.go#L39: zap.Duration("duration", c.clock.Now().Sub(start)),
connect.go#L68: zap.Duration("timeout", c.exchangeTimeout),
handle_session_created.go#L31: zap.Duration("time_difference", now.Sub(created)),
github.com/gotd/td/internal/rpc
engine.go#L43: zap.Duration("retry_interval", cfg.RetryInterval),
github.com/gotd/td/internal/tdsync
log_group.go#L47: l.Debug("Task stopped", zap.Error(err), zap.Duration("elapsed", elapsed))
log_group.go#L52: l.Debug("Task complete", zap.Duration("elapsed", elapsed))
github.com/gotd/td/telegram
connect.go#L75: c.log.Info("Restarting connection", zap.Error(err), zap.Duration("backoff", timeout))
github.com/gotd/td/telegram/internal/manager
conn.go#L114: zap.Duration("duration", end.Sub(start)),
conn.go#L227: zap.Error(err), zap.Duration("duration", duration),
|
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. |