
Httprouter (github.com/julienschmidt/httprouter) is a lightweight high performance http request router (also called multiplexer or just mux for short) for go.
in contrast to the default mux of go's net/http package, this router supports variables in the routing pattern and matches against the request method. it also scales better.
the router is optimized for high performance and a small memory footprint. it scales well even with very long paths and a large number of routes. a compressing dynamic trie (radix tree) structure is used for efficient matching.