当前位置: 首页 > 工具软件 > HttpRouter > 使用案例 >

julienschmidt/httprouter

佘京
2023-12-01

这个路由有点秀
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.

 类似资料:

相关阅读

相关文章

相关问答