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)