time.Timer.Reset (method)
16 uses
time (current package)
sleep.go#L171: func (t *Timer) Reset(d Duration) bool {
github.com/cenkalti/backoff/v4
timer.go#L26: t.timer.Reset(duration)
github.com/coder/websocket
netconn.go#L216: nc.writeTimer.Reset(dur)
netconn.go#L230: nc.readTimer.Reset(dur)
github.com/gotd/td/clock
system.go#L14: s.timer.Reset(d)
net
dial.go#L721: fallbackTimer.Reset(0)
net/http
h2_bundle.go#L5065: sc.readIdleTimer.Reset(pingAt.Sub(now))
h2_bundle.go#L5076: sc.readIdleTimer.Reset(sc.pingTimeout)
h2_bundle.go#L5626: sc.readIdleTimer.Reset(sc.readIdleTimeout)
h2_bundle.go#L5716: sc.idleTimer.Reset(sc.srv.IdleTimeout)
h2_bundle.go#L6824: st.readDeadline.Reset(deadline.Sub(time.Now()))
h2_bundle.go#L6850: st.writeDeadline.Reset(deadline.Sub(time.Now()))
h2_bundle.go#L9390: cc.idleTimer.Reset(cc.idleTimeout)
h2_bundle.go#L9552: t.Reset(readIdleTimeout)
server.go#L3183: timer.Reset(nextPollInterval())
transport.go#L1162: pconn.idleTimer.Reset(t.IdleConnTimeout)
![]() |
The pages are generated with Golds v0.8.4. (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. |