【文件属性】:
文件名称:treemux:快速灵活的HTTP路由器
文件大小:56KB
文件格式:ZIP
更新时间:2021-04-01 08:21:53
go golang router http-router Go
treemux-快速灵活的HTTP路由器
用于Go的高速,灵活的,基于树的HTTP路由器。 它的速度与httprouter一样快,但具有轻松的路由规则。
基准结果#GithubAPI Routes: 203
GorillaMux: 1319632 Bytes
HttpRouter: 37088 Bytes
VmihailencoTreemux: 55056 Bytes
#GPlusAPI Routes: 13
GorillaMux: 66016 Bytes
HttpRouter: 2760 Bytes
VmihailencoTreemux: 5392 Bytes
#ParseAPI Routes: 26
GorillaMux: 105448 Bytes
HttpRouter: 5024 Bytes
VmihailencoTreemux
【文件预览】:
treemux-master
----.gitignore(259B)
----go.mod(91B)
----group_test.go(4KB)
----Makefile(551B)
----.travis.yml(308B)
----router.go(7KB)
----tree_test.go(11KB)
----LICENSE(1KB)
----path.go(3KB)
----go.sum(1024B)
----.deepsource.toml(191B)
----tree.go(11KB)
----README.md(21KB)
----util.go(508B)
----example()
--------cors()
--------rate-limiting()
--------error-handling()
--------basic()
----group.go(6KB)
----option.go(4KB)
----router_test.go(20KB)
----fallthrough_test.go(3KB)
----extra()
--------treemuxgzip()
--------reqlog()
--------treemuxotel()
----path_test.go(2KB)
----.prettierrc(64B)
----request.go(1KB)