felixge / felixge/httpsnoop

Start concrete comparison list against other current implementations

Open
#5 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
1.2k
Forks
48
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.