felixge / felixge/httpsnoop

Start concrete comparison list against other current implementations

未关闭
#5 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
1.2k
派生
48
PR 合并指标
30 天内没有已合并 PR

描述

I really like the education benefit for the community of this project. I think the project has potential to educate router library and middleware authors to make their own implementation more robust and reach higher-quality implementations.
Thus, I would like to suggest a comparison list being added to the readme that outlines current "imperfections"/differences of other major router library providers.

I think a good start would the [https://github.com/pressley/chi](Chi) router and their [https://github.com/pressly/chi/blob/master/middleware/wrap_writer.go](httpFancyWriter) middleware responsewriter. It always looked very complete and modern to me with their support for 1.8 and `http.CloseNotifier`, `http.Flusher`, `http.Hijacker`, `http.Pusher`, and `io.ReaderFrom` interfaces. But now I got sceptical.

I understand this list has potential for blame-gaming but I believe written in an informative and as-neutral-as-possible style it will actually help router and middleware authors to reach higher-quality implementations.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。