net/http.persistConn.idleTimer (field)
6 uses
net/http (current package)
transport.go#L987: if pconn.idleTimer != nil {
transport.go#L988: pconn.idleTimer.Reset(t.IdleConnTimeout)
transport.go#L990: pconn.idleTimer = time.AfterFunc(t.IdleConnTimeout, pconn.closeConnIfStillIdle)
transport.go#L1095: if pconn.idleTimer != nil {
transport.go#L1096: pconn.idleTimer.Stop()
transport.go#L1894: idleTimer *time.Timer // holding an AfterFunc to close it
![]() |
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. |