felixge / felixge/httpsnoop

Start concrete comparison list against other current implementations

Aberta
#5 2 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Go
Estrelas
1.2k
Forks
48
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.