# 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 请求错误.
# Interfaces
Verify 验证器.