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 摘要。