{"repo":"go-chi/chi","free":true,"listed":false,"github":"https://github.com/go-chi/chi","clone":"git clone https://github.com/go-chi/chi.git","description":"lightweight, idiomatic and composable router for building Go HTTP services","language":"Go","stars":22684,"topics":["http","router","context","middleware","api","rest-api","microservices","golang","go"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"[![GoDoc Widget]][GoDoc] chi is a lightweight, idiomatic and composable router for building Go HTTP services. It's especially good at helping you write large REST API services that are kept maintainable as your project grows and changes. chi is built on the new context package introduced in Go 1.7 to handle signaling, cancelation and request-scoped values across a handler chain. The focus of the project has been to seek out an elegant and comfortable design for writing REST API servers, written during the development of the Pressly API service that powers our public API service, which in turn powers all of our client-side applications. The key considerations of chi's design are: project structure, maintainability, standard http handlers (stdlib-only), developer productivity, and deconstructing a large system into many small parts. The core router github.com/go-chi/chi is quite small (less than 1000 LOC), but we've also included some useful/optional subpackages: middleware, render and docgen. We hope you enjoy it too! Install Features Lightweight - cloc'd in 1000 LOC for the chi router Fast - yes, see benchmarks 100% compatible with net/http - use any http or middleware pkg in the ecosystem that is also compatible with net/http Designed for modular/composable APIs - middlewares, inline middlewares, route groups and sub-router mounting Context control - built on new context package, providing value chaining, cancellations and timeouts Robust - in production at Pressly, Cloudfla","default_branch":null,"files":null,"tree":[],"storefront":"/r/go-chi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/go-chi/chi/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}