type net/http.connectMethodKey
15 uses
net/http (current package)
transport.go#L97: idleConn map[connectMethodKey][]*persistConn // most recently used at end
transport.go#L98: idleConnWait map[connectMethodKey]wantConnQueue // waiting getConns
transport.go#L108: connsPerHost map[connectMethodKey]int
transport.go#L109: connsPerHostWait map[connectMethodKey]wantConnQueue // waiting getConns
transport.go#L964: t.idleConn = make(map[connectMethodKey][]*persistConn)
transport.go#L1077: t.idleConnWait = make(map[connectMethodKey]wantConnQueue)
transport.go#L1182: key connectMethodKey // cm.key()
transport.go#L1420: t.connsPerHost = make(map[connectMethodKey]int)
transport.go#L1428: t.connsPerHostWait = make(map[connectMethodKey]wantConnQueue)
transport.go#L1457: func (t *Transport) decConnsPerHost(key connectMethodKey) {
transport.go#L1803: func (cm *connectMethod) key() connectMethodKey {
transport.go#L1812: return connectMethodKey{
transport.go#L1849: type connectMethodKey struct {
transport.go#L1854: func (k connectMethodKey) String() string {
transport.go#L1872: cacheKey connectMethodKey
![]() |
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. |