Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPReqRunner ¶
type HTTPReqRunner struct { // 最大请求时间 Timeout time.Duration StatusCodeChecker func(code int) bool // 是否获取响应体 RetrieveBody bool BodyChecker func(data []byte) bool RecordServerIp bool }
func (*HTTPReqRunner) Run ¶
func (hr *HTTPReqRunner) Run(id string, request interface{}) (report *ReportV1)
Click to show internal directories.
Click to hide internal directories.