func context.WithDeadline
8 uses
context (current package)
context.go#L606: func WithDeadline(parent Context, d time.Time) (Context, CancelFunc) {
context.go#L685: return WithDeadline(parent, time.Now().Add(timeout))
crypto/tls
tls.go#L129: ctx, cancel = context.WithDeadline(ctx, netDialer.Deadline)
net
dial.go#L461: subCtx, cancel := context.WithDeadline(ctx, deadline)
dial.go#L609: dialCtx, cancel = context.WithDeadline(ctx, partialDeadline)
dnsclient_unix.go#L174: ctx, cancel := context.WithDeadline(ctx, time.Now().Add(timeout))
net/http
client.go#L367: req.ctx, cancelCtx = context.WithDeadline(oldCtx, deadline)
client.go#L374: req.ctx, cancelCtx = context.WithDeadline(oldCtx, deadline)
|
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |