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 Delayed round-tripper #12

Merged
merged 2 commits into from
Nov 22, 2024
Merged

Conversation

xiam
Copy link
Contributor

@xiam xiam commented Nov 19, 2024

This round-tripper can add an artificial delay to requests and responses, which can be useful when testing the handling of time-outs.

Copy link
Contributor

@VojtechVitek VojtechVitek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great :) Minor feedback.

LGTM

delayed.go Show resolved Hide resolved
delayed.go Show resolved Hide resolved
delayed.go Show resolved Hide resolved
delayed.go Outdated Show resolved Hide resolved
Copy link
Contributor

@VojtechVitek VojtechVitek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, nice work :)

@VojtechVitek VojtechVitek merged commit ab7e622 into go-chi:master Nov 22, 2024
1 check passed
@xiam xiam deleted the delayed-roundtripper branch November 25, 2024 18:06
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.

3 participants