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

Option to take fs.FS for NewReplayer #20

Open
harrisonmetz opened this issue Nov 23, 2022 · 0 comments
Open

Option to take fs.FS for NewReplayer #20

harrisonmetz opened this issue Nov 23, 2022 · 0 comments

Comments

@harrisonmetz
Copy link

The httpreplay.Replayer should have a New function that can take an fs.FS. This way it can be used with normal files, or it can be used with an embed.FS which would be helpful for unit testing. That is, the replay file can be embedded into application and a Replayer can be built with that.

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

No branches or pull requests

1 participant