type context.CancelFunc
10 uses
context (current package)
context.go#L224: type CancelFunc func()
context.go#L232: func WithCancel(parent Context) (ctx Context, cancel CancelFunc) {
context.go#L430: func WithDeadline(parent Context, d time.Time) (Context, CancelFunc) {
context.go#L502: func WithTimeout(parent Context, timeout time.Duration) (Context, CancelFunc) {
net
dial.go#L542: var cancel context.CancelFunc
net/http
server.go#L254: cancelCtx context.CancelFunc
server.go#L422: cancelCtx context.CancelFunc // when ServeHTTP exits
server.go#L3298: var cancelCtx context.CancelFunc
os/signal
signal.go#L277: func NotifyContext(parent context.Context, signals ...os.Signal) (ctx context.Context, stop context.CancelFunc) {
signal.go#L301: cancel context.CancelFunc
The pages are generated with Golds v0.2.8-preview. (GOOS=darwin GOARCH=arm64)