net/http.Transport.idleLRU (field)
9 uses
net/http (current package)
transport.go#L99: idleLRU connLRU
transport.go#L764: t.idleLRU = connLRU{}
transport.go#L919: if pconn.alt != nil && t.idleLRU.m[pconn] != nil {
transport.go#L976: t.idleLRU.add(pconn)
transport.go#L977: if t.MaxIdleConns != 0 && t.idleLRU.len() > t.MaxIdleConns {
transport.go#L978: oldest := t.idleLRU.removeOldest()
transport.go#L1059: t.idleLRU.remove(pconn)
transport.go#L1098: t.idleLRU.remove(pconn)
transport.go#L1980: if _, ok := t.idleLRU.m[pc]; !ok {
![]() |
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. |