You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@canbusio Internal redirecting by URI is a lower priority feature that not much necessary for most golang servers, but we can also consider it. We can add these implements:
add InternalRouting() InternalRouting for ghttp.Request for internal routing features.
add InternalRouting.CallRouteFunc(uri string) directly call route function by URI in current handler.
add InternalRouting.Redirect(uri string) redirect the request flow to another route and end current flow.
We can discuss this feature here, and it can be implemented by anyone that is interested in this.
add InternalRouting.CallRouteFunc(uri string) directly call route function by URI in current handler.
This one is what I need.
Internal redirecting by URI is a lower priority feature that not much necessary for most golang servers.
I agree with that.Very few people would need this feature.
I don't use RestartRouting() in gofiber, because it's better to call handler() directly.
But I need this feature in goframe when using group.Bind().
Hello @canbusio. We like your proposal/feedback and would appreciate a contribution via a Pull Request by you or another community member. We thank you in advance for your contribution and are looking forward to reviewing it!
你好 @canbusio。我们喜欢您的提案/反馈,并希望您或其他社区成员通过拉取请求做出贡献。我们提前感谢您的贡献,并期待对其进行审查。
Is your feature request related to a problem?
No and Yes.
Describe the solution you'd like
Sth. like c.Path("/new_uri") and c.RestartRouting() in gofiber v3.
https://docs.gofiber.io/next/api/ctx#restartrouting
Describe alternatives you've considered
Or sth. like rewrite ... last in nginx.
Additional
No response
The text was updated successfully, but these errors were encountered: