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: Add /version endpoint and command line argument -version #188

Open
mloskot opened this issue Sep 20, 2024 · 2 comments
Open

feat: Add /version endpoint and command line argument -version #188

mloskot opened this issue Sep 20, 2024 · 2 comments

Comments

@mloskot
Copy link
Contributor

mloskot commented Sep 20, 2024

Is there any reason that go-httpbin binary does not seem to offer any way to report its version?

I there isn't any, I'd like to suggest adding it, if possible.

Additionally, it would be nice to have /version endpoint.

I often have to test number of environments, clusters, DNS zones/domains, where I deploy different versions of go-httpbin, and being able to request the release version would be useful as a way to identify certain deployments.

If there is an interest, I'm keen in giving it a shot to implement it.

@mccutchen
Copy link
Owner

No particular reason. Both additions sound like a good idea to me, I’ll gladly review a pull request if you open one!

@mloskot
Copy link
Contributor Author

mloskot commented Sep 21, 2024

Good to hear, I've proposed #191

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants