Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add context overloads #8

Closed
wants to merge 2 commits into from
Closed

Conversation

prskr
Copy link

@prskr prskr commented Sep 2, 2021

Closes #7

This allows to:

- cancel a request
- set a timeout for a request
- propagate tracing data captured in a context.Context
Even with not actually relying on actual cryptographic security for request IDs it's still recommended to use crypto/rand when possible
@babolivier babolivier self-requested a review October 28, 2021 14:17
@prskr prskr closed this Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support context.Context for cancellation
1 participant