Skip to content

Conversation

ThisIsAreku
Copy link

The WithResponseTimeout option expects a number of milliseconds typed as time.Duration, which is not idiomatic in Go.

This PR adds a new WithResponseTimeoutDuration that takes a proper time.Duration value.

This preserves backward compatibility while fixing the semantic mismatch.

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.

1 participant