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

how to get router info in beforeHandler and afterHandler #243

Open
greatcat-taihe opened this issue Aug 31, 2021 · 1 comment
Open

how to get router info in beforeHandler and afterHandler #243

greatcat-taihe opened this issue Aug 31, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@greatcat-taihe
Copy link

add route.Route to context in function processHandlerMessage(service/util.go) may work

@henriqueoelze henriqueoelze added the enhancement New feature or request label Aug 31, 2021
@lalolv
Copy link

lalolv commented Mar 10, 2023

Use ctx.Value(constants.PropagateCtxKey) in PushBack, get a map data include a req-route key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants