gorouter

Go Server/API micro framework, HTTP request router, multiplexer, mux

MIT License

Stars
154
gorouter - v4.5.1 Latest Release

Published by vardius about 4 years ago

gorouter - v4.5.0

Published by vardius about 4 years ago

Global middleware applies to router handler now

gorouter - v4.4.7

Published by vardius about 4 years ago

Fixed variable scope for mounted net http router

gorouter - v4.4.6

Published by vardius about 4 years ago

Optimise mount method

gorouter - v4.4.5

Published by vardius about 4 years ago

Fix go sum server

gorouter - v4.4.4

Published by vardius about 4 years ago

Fix sub router sub path matching, improve performance

gorouter - v4.4.3

Published by vardius over 4 years ago

Hotfix root route check

gorouter - v4.4.2

Published by vardius over 4 years ago

Update fasthttp version

gorouter - v4.4.1

Published by vardius over 4 years ago

Performance upgrade.

  • preselecting root node and matching path agains smaller tree.
  • reduced allocations

Data taken from travis builds (before/after):

- BenchmarkStatic1-4              	12678802	        92.1 ns/op	       5 B/op	       1 allocs/op
+ BenchmarkStatic1-4              	25116511	        46.1 ns/op	       0 B/op	       0 allocs/op
gorouter - v4.4.0

Published by vardius over 4 years ago

This minor version update includes fixes for middleware

  • execution order
  • middleware to node matching between different node types (static/wildcard etc)
gorouter - v4.3.0

Published by vardius almost 5 years ago

Adding a middleware to non existing path will panic now https://github.com/vardius/gorouter/commit/0d328e69d797c06213283c94fb08bd921c9a0e2e

gorouter - v4.2.3

Published by vardius almost 5 years ago

Fix and add Compile method to interface.

gorouter - v4.2.2

Published by vardius about 5 years ago

  • Subrouter match delegates to inner node instead of reimplementing the wheel
  • Improves subrouter matching performance
gorouter - v4.2.1

Published by vardius about 5 years ago

  • Fix subrouter matching for different inner node types
gorouter - v4.2.0

Published by vardius about 5 years ago

  • Overall mux refactor
  • Performance improvement
  • Fasthttp router store params object in context instead of each parameter separately
gorouter - v4.1.0

Published by vardius about 5 years ago

  • Add fasthttp adapter
  • Improve middleware performance by pre-caching handlers
gorouter - v4.0.0

Published by vardius over 5 years ago

This release is adopting modules for the first time for a pre-existing repository that have already been tagged v2.0.0 or higher before adopting modules.

Readme more here https://github.com/vardius/gorouter/issues/11

gorouter - v3.0.6

Published by vardius over 5 years ago

gorouter - v3.0.5

Published by vardius over 5 years ago

gorouter - v3.0.4

Published by vardius over 6 years ago

You can mount http.Handlers now as a sub router

Package Rankings
Top 2.8% on Proxy.golang.org
Badges
Extracted from project README
Go Report Card codecov license