Popularity
2.4
Declining
Activity
3.9
-
36
3
4

Description

The router determines how to handle that request. GoRouter uses a routing tree. Once one branch of the tree matches, only routes inside that branch are considered, not any routes after that branch. When instantiating router, the root node of tree is created.

Programming language: Go
License: MIT License
Tags: Web Frameworks     Middlewares     Http2     Httprouter     Routers     Mux    

GoRouter alternatives and related packages

Based on the "Web Frameworks" category

Do you think we are missing an alternative of GoRouter or a related project?

Add another 'Web Frameworks' Package

GoRouter Recommendations

vardius
GoRouter allows to use regex wildcards and handlers implement the http.Handler interface type not like other routers. The request parameters are passed in the request context. GoRouter also provides middleware system and the performance is comparable.

Have you used GoRouter? Share your experience. Write a short recommendation and GoRouter, you and your project will be promoted on Awesome Go.
Recommend GoRouter

Recently added GoRouter resources

  • Benchmarks - GoRouter vs HttpRouter
    Article  Added by vardius // github.com // about 1 year ago
  • Go Server/API boilerplate using best practices DDD CQRS ES
    Article  Added by vardius // github.com // about 1 year ago
  • Handling Errors
    Article  Added by vardius // github.com // about 1 year ago
  • Serving Files
    Article  Added by vardius // github.com // about 1 year ago
  • gorouter routing exmplained
    Article  Added by vardius // github.com // about 1 year ago
  • Multidomain
    Article  Added by vardius // github.com // about 1 year ago
  • When having multiple instance of a router you might want to mount one as a sub router of another under some route path, still keeping all middleware.
    Article  Added by vardius // github.com // about 1 year ago
  • gorouter middleware system
    Article  Added by vardius // github.com // about 1 year ago
  • using http2 with gorouter
    Article  Added by vardius // github.com // about 1 year ago
  • Authentication docs
    Article  Added by vardius // github.com // about 1 year ago