func context.Cause
9 uses
context (current package)
context.go#L283: func Cause(c Context) error {
context.go#L473: child.cancel(false, parent.Err(), Cause(parent))
context.go#L498: child.cancel(false, parent.Err(), Cause(parent))
context.go#L512: child.cancel(false, parent.Err(), Cause(parent))
net/http
transport.go#L617: return nil, context.Cause(ctx)
transport.go#L1489: err := context.Cause(treq.ctx)
transport.go#L1500: err := context.Cause(treq.ctx)
transport.go#L2337: pc.cancelRequest(context.Cause(rc.treq.ctx))
transport.go#L2802: pc.cancelRequest(context.Cause(req.ctx))
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux 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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |