type net/http.cancelKey
10 uses
net/http (current package)
transport.go#L102: reqCanceler map[cancelKey]func(error)
transport.go#L288: type cancelKey struct {
transport.go#L456: cancelKey cancelKey
transport.go#L533: cancelKey := cancelKey{origReq}
transport.go#L783: t.cancelRequest(cancelKey{req}, errRequestCanceled)
transport.go#L788: func (t *Transport) cancelRequest(key cancelKey, err error) bool {
transport.go#L1126: func (t *Transport) setReqCanceler(key cancelKey, fn func(error)) {
transport.go#L1130: t.reqCanceler = make(map[cancelKey]func(error))
transport.go#L1143: func (t *Transport) replaceReqCanceler(key cancelKey, fn func(error)) bool {
transport.go#L2463: cancelKey cancelKey
![]() |
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. |