net/http.wantConn.key (field)
12 uses
net/http (current package)
transport.go#L1026: if list, ok := t.idleConn[w.key]; ok {
transport.go#L1066: t.idleConn[w.key] = list
transport.go#L1068: delete(t.idleConn, w.key)
transport.go#L1079: q := t.idleConnWait[w.key]
transport.go#L1082: t.idleConnWait[w.key] = q
transport.go#L1182: key connectMethodKey // cm.key()
transport.go#L1334: key: cm.key(),
transport.go#L1418: if n := t.connsPerHost[w.key]; n < t.MaxConnsPerHost {
transport.go#L1422: t.connsPerHost[w.key] = n + 1
transport.go#L1430: q := t.connsPerHostWait[w.key]
transport.go#L1433: t.connsPerHostWait[w.key] = q
transport.go#L1451: t.decConnsPerHost(w.key)
![]() |
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. |