func context.WithDeadline
9 uses
context (current package)
context.go#L625: func WithDeadline(parent Context, d time.Time) (Context, CancelFunc) {
context.go#L704: return WithDeadline(parent, time.Now().Add(timeout))
crypto/tls
tls.go#L142: ctx, cancel = context.WithDeadline(ctx, netDialer.Deadline)
github.com/refraction-networking/utls
tls.go#L130: ctx, cancel = context.WithDeadline(ctx, netDialer.Deadline)
net
dial.go#L570: subCtx, cancel1 = context.WithDeadline(ctx, deadline)
dial.go#L751: dialCtx, cancel = context.WithDeadline(ctx, partialDeadline)
dnsclient_unix.go#L182: ctx, cancel := context.WithDeadline(ctx, time.Now().Add(timeout))
net/http
client.go#L371: req.ctx, cancelCtx = context.WithDeadline(oldCtx, deadline)
client.go#L378: req.ctx, cancelCtx = context.WithDeadline(oldCtx, deadline)
 |
The pages are generated with Golds v0.8.4. (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. |