command
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Nov 27, 2021
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
go-http-routers-testing
Go 路由的性能测试工具
https://caixw.github.io/go-http-routers-testing/
安装
go get github.com/caixw/go-http-routers-testing
运行测试
可以使用 test.benchtime 指定每个测试的运行时间。
go run main.go -test.benchtime=5s
或是
run.sh
如果要本地查看数据,请运行:
go run ./serve.go
或是
serve.sh
协作
apis 定义了各种类型的接口;
data 主要用于生成 json 数据;
routers 路由定义处,新路由只需要在此目录下定义 Load 方法即可;
不要提交 /docs/data 下的数据,该数据由本人统一产生。
版权
本项目采用 MIT 开源授权许可证,完整的授权说明可在 LICENSE 文件中找到。
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Package apis 预定义的各类型的 API 数据
|
Package apis 预定义的各类型的 API 数据 |
|
Package data 处理数据 |
Package routers 各类路由包的定义处
|
Package routers 各类路由包的定义处 |
Click to show internal directories.
Click to hide internal directories.