felixge / felixge/httpsnoop

Start concrete comparison list against other current implementations

Ouverte
#5 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Go
Étoiles
1.2k
Forks
48
Métriques de merge des PR
Aucune PR mergée en 30 j

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.