package
1.0.17
Repository: https://github.com/link1st/go-stress-testing.git
Documentation: pkg.go.dev

# Functions

NewRequest 生成请求结构体 url 压测的url verify 验证方法 在server/verify中 http 支持:statusCode、json webSocket支持:json timeout 请求超时时间 debug 是否开启debug path curl文件路径 http接口压测,自定义参数设置.
ParseTheFile 从文件中解析curl.
RegisterVerifyHTTP 注册 http 校验函数.
RegisterVerifyWebSocket 注册 webSocket 校验函数.

# Constants

FormTypeGRPC grpc 协议.
FormTypeHTTP http 协议.
支持协议.
FormTypeWebSocket webSocket 协议.
HTTPOk 请求成功.
解析错误.
RequestErr 请求错误.

# Structs

CURL curl参数解析.
Request 请求数据.
RequestResults 请求结果.

# Interfaces

Verify 验证器.

# Type aliases

VerifyHTTP http 验证.
VerifyWebSocket webSocket 验证.