func time.AfterFunc
21 uses
time (current package)
sleep.go#L210: func AfterFunc(d Duration, f func()) *Timer {
context
context.go#L652: c.timer = time.AfterFunc(dur, func() {
crypto/internal/sysrand
rand.go#L41: t := time.AfterFunc(time.Minute, warnBlocked)
github.com/coder/websocket
dial.go#L154: timer := time.AfterFunc(time.Second*3, func() {
netconn.go#L61: nc.writeTimer = time.AfterFunc(math.MaxInt64, func() {
netconn.go#L77: nc.readTimer = time.AfterFunc(math.MaxInt64, func() {
net
pipe.go#L54: d.timer = time.AfterFunc(dur, func() {
net/http
h2_bundle.go#L4949: sc.idleTimer = time.AfterFunc(sc.srv.IdleTimeout, sc.onIdleTimer)
h2_bundle.go#L4955: sc.readIdleTimer = time.AfterFunc(conf.SendPingTimeout, sc.onReadIdleTimer)
h2_bundle.go#L4961: settingsTimer := time.AfterFunc(http2firstSettingsTimeout, sc.onSettingsTimer)
h2_bundle.go#L5496: sc.shutdownTimer = time.AfterFunc(d, sc.onShutdownTimer)
h2_bundle.go#L6101: st.readDeadline = time.AfterFunc(sc.hs.ReadTimeout, st.onReadTimeout)
h2_bundle.go#L6199: st.writeDeadline = time.AfterFunc(sc.hs.WriteTimeout, st.onWriteTimeout)
h2_bundle.go#L6822: st.readDeadline = time.AfterFunc(deadline.Sub(time.Now()), st.onReadTimeout)
h2_bundle.go#L6848: st.writeDeadline = time.AfterFunc(deadline.Sub(time.Now()), st.onWriteTimeout)
h2_bundle.go#L8168: cc.idleTimer = time.AfterFunc(d, cc.onIdleTimeout)
h2_bundle.go#L8426: t := time.AfterFunc(250*time.Millisecond, cc.forceCloseConn)
h2_bundle.go#L9485: cc.idleTimer = time.AfterFunc(unusedWaitTime-idleTime, func() {
h2_bundle.go#L9547: t = time.AfterFunc(readIdleTimeout, cc.healthCheck)
transport.go#L1164: pconn.idleTimer = time.AfterFunc(t.IdleConnTimeout, pconn.closeConnIfStillIdle)
transport.go#L1728: timer = time.AfterFunc(d, func() {
 |
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. |