time.Timer.Reset (method)
25 uses
time (current package)
sleep.go#L134: func (t *Timer) Reset(d Duration) bool {
database/sql
sql.go#L1028: t.Reset(d)
github.com/go-redis/redis/v8
pubsub.go#L487: timer.Reset(pingTimeout)
pubsub.go#L551: timer.Reset(chanSendTimeout)
pubsub.go#L618: timer.Reset(pingTimeout)
github.com/go-redis/redis/v8/internal/pool
pool.go#L283: timer.Reset(p.opt.PoolTimeout)
golang.org/x/net/http2
server.go#L1526: sc.idleTimer.Reset(sc.srv.IdleTimeout)
transport.go#L1719: cc.idleTimer.Reset(cc.idleTimeout)
transport.go#L1821: t.Reset(readIdleTimeout)
transport.go#L2664: s.timer.Reset(s.delay)
google.golang.org/grpc/internal/transport
http2_client.go#L1369: timer.Reset(time.Duration(lastRead) + t.kp.Time - time.Duration(time.Now().UnixNano()))
http2_client.go#L1418: timer.Reset(sleepDuration)
http2_server.go#L985: idleTimer.Reset(t.kp.MaxConnectionIdle)
http2_server.go#L996: idleTimer.Reset(val)
http2_server.go#L999: ageTimer.Reset(t.kp.MaxConnectionAgeGrace)
http2_server.go#L1017: kpTimer.Reset(time.Duration(lastRead) + t.kp.Time - time.Duration(time.Now().UnixNano()))
http2_server.go#L1042: kpTimer.Reset(sleepDuration)
net
dial.go#L513: fallbackTimer.Reset(0)
net/http
h2_bundle.go#L5095: sc.idleTimer.Reset(sc.srv.IdleTimeout)
h2_bundle.go#L8222: cc.idleTimer.Reset(cc.idleTimeout)
h2_bundle.go#L8324: t.Reset(readIdleTimeout)
h2_bundle.go#L9168: s.timer.Reset(s.delay)
server.go#L2763: timer.Reset(nextPollInterval())
transport.go#L988: pconn.idleTimer.Reset(t.IdleConnTimeout)
net/http/httputil
reverseproxy.go#L512: m.t.Reset(m.latency)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |