go-http-routers-testing

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 3 Imported by: 0

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

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package apis 预定义的各类型的 API 数据
Package apis 预定义的各类型的 API 数据
Package data 处理数据
Package data 处理数据
Package routers 各类路由包的定义处
Package routers 各类路由包的定义处

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL