func context.WithDeadline
10 uses
context (current package)
context.go#L430: func WithDeadline(parent Context, d time.Time) (Context, CancelFunc) {
context.go#L503: return WithDeadline(parent, time.Now().Add(timeout))
github.com/jackc/pgconn
pgconn.go#L588: ctx, cancel := context.WithDeadline(context.Background(), deadline)
golang.org/x/net/context
go17.go#L48: ctx, f := context.WithDeadline(parent, deadline)
google.golang.org/grpc
clientconn.go#L1276: connectCtx, cancel := context.WithDeadline(ac.ctx, connectDeadline)
net
dial.go#L376: subCtx, cancel := context.WithDeadline(ctx, deadline)
dial.go#L543: dialCtx, cancel = context.WithDeadline(ctx, partialDeadline)
dnsclient_unix.go#L152: ctx, cancel := context.WithDeadline(ctx, time.Now().Add(timeout))
net/http
client.go#L358: req.ctx, cancelCtx = context.WithDeadline(oldCtx, deadline)
client.go#L365: req.ctx, cancelCtx = context.WithDeadline(oldCtx, deadline)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |