Kevin Wan

Results 336 comments of Kevin Wan
trafficstars

There is no method to get the route associated with current request.

It's only for test purpose. The best practices is to create a rest.Server and addRoutes, then start the server.

Got it. I'll investigate this and if necessary, I'll add it back. But for the previous implementation, bindRoutes will be called for each request. It causes memory leak, and it's...

hi @jaronnie Would you please do a code review and check if the PR #4896 meets the requirement? Thanks!

Would you please use it from https://github.com/kevwan/go-zero/tree/rest/feat-servehttp

How do you use it in serverless service? Would you please give me an example code?