summaryrefslogtreecommitdiff
path: root/http_target.go
diff options
context:
space:
mode:
Diffstat (limited to 'http_target.go')
-rw-r--r--http_target.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/http_target.go b/http_target.go
index 99a6965..b209c0d 100644
--- a/http_target.go
+++ b/http_target.go
@@ -15,22 +15,16 @@ import (
vegeta "github.com/tsenart/vegeta/v12/lib"
)
-//
// HttpConvertParams is a handler that will be called inside the Run handler
// to convert the Params values to type that will be send as request.
-//
type HttpConvertParams func(target *HttpTarget) (interface{}, error)
-//
// HttpRunHandler define the function type that will be called when client
// send request to run the HTTP target.
-//
type HttpRunHandler func(rr *RunRequest) (runres *RunResponse, err error)
-//
// HttpAttackHandler define the function type that will be called when client
// send request to attack HTTP target.
-//
type HttpAttackHandler func(rr *RunRequest) vegeta.Targeter
// HttpPreAttackHandler define the function type that will be called before