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

feat: expose handlers to use Albedo as a library #29

Merged
merged 1 commit into from
Sep 24, 2024
Merged

feat: expose handlers to use Albedo as a library #29

merged 1 commit into from
Sep 24, 2024

Conversation

M4tteoP
Copy link
Member

@M4tteoP M4tteoP commented Sep 22, 2024

This PR proposes to export a Handler() method in order to easily use Albedo as a library for testing purposes.
Context: In Coraza we have some code that emulates go-httpbin/albedo, it would be great to directly point to the official handler and not having to emulate it.

Copy link
Member

@fzipi fzipi left a comment

Choose a reason for hiding this comment

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

Makes sense.

README.md Outdated Show resolved Hide resolved
@fzipi fzipi merged commit 4b95a32 into main Sep 24, 2024
4 checks passed
@fzipi fzipi deleted the library branch September 24, 2024 18:58
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.

2 participants