net/http.Transport.connsPerHost (field)
8 uses
net/http (current package)
transport.go#L108: connsPerHost map[connectMethodKey]int
transport.go#L1418: if n := t.connsPerHost[w.key]; n < t.MaxConnsPerHost {
transport.go#L1419: if t.connsPerHost == nil {
transport.go#L1420: t.connsPerHost = make(map[connectMethodKey]int)
transport.go#L1422: t.connsPerHost[w.key] = n + 1
transport.go#L1464: n := t.connsPerHost[key]
transport.go#L1499: delete(t.connsPerHost, key)
transport.go#L1501: t.connsPerHost[key] = n
![]() |
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. |