-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add support for fasthttp #117
Comments
I am wondering, since
With "stable API", I mean: I expect @julienschmidt to want to keep the syntax: func Hello(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {} Do you have any thoughts / ideas about this yourself, @valyala ? |
The project is very interesting. I talked about something like that with @manucorporat a while ago. |
This would be great! |
What are we looking at for a timeline for this? Would you like any help with the fork? Thanks! |
Hi all. I had forked [httprouter] and make it work for [fasthttp]. But there are too many conflicts with go's net/http package. It is hard to merge into the main repo, so I rename it as an individual package fasthttprouter. All docs and tests are available and the package has been used in our online productions. Just enjoy it. |
Thanks @buaazp for your work. |
@buaazp looks great; planning on digging into your library to build a framework with middleware and such Sunday or Monday. Can I ask how you are going to maintain fasthttprouter as httprouter evolves? Why don't you have issues enabled for it (are you not looking to maintain this long-term?)? |
Hi @Annonomus-Penguin , forked repos disable issues by default, now I have opened it. |
fasthttp is a fast http server with zero memory allocations like httprouter. It would be great if support for fasthttp will be added to httprouter. This will give us fast http server+router with zero memory allocations.
The text was updated successfully, but these errors were encountered: