type context.CancelFunc
17 uses
context (current package)
context.go#L227: type CancelFunc func()
context.go#L235: func WithCancel(parent Context) (ctx Context, cancel CancelFunc) {
context.go#L611: func WithDeadline(parent Context, d time.Time) (Context, CancelFunc) {
context.go#L618: func WithDeadlineCause(parent Context, d time.Time, cause error) (Context, CancelFunc) {
context.go#L689: func WithTimeout(parent Context, timeout time.Duration) (Context, CancelFunc) {
context.go#L696: func WithTimeoutCause(parent Context, timeout time.Duration, cause error) (Context, CancelFunc) {
crypto/tls
quic.go#L157: cancel context.CancelFunc
tls.go#L124: var cancel context.CancelFunc
tls.go#L130: var cancel context.CancelFunc
net
dial.go#L629: var cancel context.CancelFunc
lookup.go#L337: dnsWaitGroupDone := func(ch <-chan singleflight.Result, cancelFn context.CancelFunc) {
net/http
h2_bundle.go#L3708: ContextWithTimeout(ctx context.Context, d time.Duration) (context.Context, context.CancelFunc)
h2_bundle.go#L7358: func (t *http2Transport) contextWithTimeout(ctx context.Context, d time.Duration) (context.Context, context.CancelFunc) {
server.go#L260: cancelCtx context.CancelFunc
server.go#L428: cancelCtx context.CancelFunc // when ServeHTTP exits
server.go#L3652: var cancelCtx context.CancelFunc
transport.go#L1260: cancelCtx context.CancelFunc
 |
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. |