A high-performance Go HTTP request router and micro framework with middleware, authentication, and HTTP/2 support.
Gorouter is a Go HTTP request router and micro framework designed for building high-performance servers and APIs. It functions as a multiplexer (mux) with features like middleware, authentication, and HTTP/2 support, solving the need for a fast, lightweight routing solution in Go applications.
Go developers building web servers, microservices, or APIs who require efficient routing and middleware capabilities without the overhead of larger frameworks.
Developers choose Gorouter for its benchmarked performance, low memory usage, and comprehensive feature set including Fast HTTP integration and HTTP/2 support, making it a robust alternative to standard net/http or other routers.
Go Server/API micro framework, HTTP request router, multiplexer, mux
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Benchmark results show 16.5-17.9 ns per operation with zero allocations, making it one of the fastest routers available for Go.
Optimized for minimal memory usage, as highlighted in features, which is ideal for resource-constrained environments like microservices.
Integrates with both standard net/http and valyala/fasthttp, allowing developers to choose based on performance needs without switching frameworks.
Includes HTTP/2 and multidomain routing, catering to contemporary web standards without additional dependencies.
As a micro framework, it lacks advanced functionalities like session management, WebSocket support, or validation, requiring extra work or libraries.
Documentation is hosted externally on a personal website (rafallorenz.com), which may be less accessible or consistently updated compared to GitHub-based docs.
Has fewer third-party plugins and community contributions than popular alternatives like Gin or Echo, which can slow down integration efforts.