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

[Feature]Does the http server support opening the router and reassigning and modifying it? #3495

Open
dcsunny opened this issue Dec 19, 2024 · 0 comments
Labels

Comments

@dcsunny
Copy link
Contributor

dcsunny commented Dec 19, 2024

image
当前的router属于私有的,并且无法自己赋值修改。 我这里的需求是想重写router,但是无法修改。 希望增加.

func (s *Server) SetRouter(router *mux.Router) {
s.router = router
}

@kratos-ci-bot kratos-ci-bot changed the title [Feature]http的server是否支持将router开放出来重新赋值修改 [Feature]Does the http server support opening the router and reassigning and modifying it? Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant