func time.NewTimer
16 uses
time (current package)
sleep.go#L143: func NewTimer(d Duration) *Timer {
sleep.go#L203: return NewTimer(d).C
github.com/cenkalti/backoff/v4
timer.go#L24: t.timer = time.NewTimer(duration)
github.com/coder/websocket
close.go#L231: t := time.NewTimer(time.Second * 15)
github.com/gotd/td/clock
system.go#L44: return systemTimer{timer: time.NewTimer(d)}
net
dial.go#L694: fallbackTimer := time.NewTimer(sd.fallbackDelay())
net/http
client.go#L403: timer := time.NewTimer(time.Until(deadline))
h2_bundle.go#L5128: timer := time.NewTimer(http2prefaceTimeout) // TODO: configurable on *Server?
h2_bundle.go#L7913: tm := time.NewTimer(d)
h2_bundle.go#L8813: timer := time.NewTimer(continueTimeout)
h2_bundle.go#L8848: timer := time.NewTimer(d)
server.go#L3173: timer := time.NewTimer(nextPollInterval())
transfer.go#L220: timer := time.NewTimer(200 * time.Millisecond)
transport.go#L2586: timer := time.NewTimer(pc.t.ExpectContinueTimeout)
transport.go#L2714: t := time.NewTimer(maxWriteWaitBeforeConnReuse)
transport.go#L2924: timer := time.NewTimer(d)
![]() |
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. |