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

Question about params #456

Closed
nonils opened this issue Aug 30, 2020 · 4 comments
Closed

Question about params #456

nonils opened this issue Aug 30, 2020 · 4 comments

Comments

@nonils
Copy link

nonils commented Aug 30, 2020

Hi there. I have a question about if in janus we have a way to know or infer a request param. For example. If you have a uri like /example/{id} -> gets the id to do a custom action.
Thanks

@vgarvardt
Copy link
Contributor

If I got your question then you're talking probably about Named url parameters described at https://github.com/hellofresh/janus/blob/master/docs/proxy/routing_capabilities.md

@nonils
Copy link
Author

nonils commented Sep 8, 2020

Yes thanks. And just in case I want know what is the handlers that you use to handle the request if I can know

thanks in advance

@vgarvardt
Copy link
Contributor

vgarvardt commented Sep 8, 2020

If you're talking about router - internally github.com/go-chi/chi v3 is used currently - https://github.com/hellofresh/janus/blob/master/go.mod#L19

@nonils
Copy link
Author

nonils commented Sep 8, 2020

Thanks 👍

@nonils nonils closed this as completed Sep 8, 2020
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

2 participants