aboutsummaryrefslogtreecommitdiff
path: root/http_target.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2022-08-21 02:14:04 +0700
committerShulhan <ms@kilabit.info>2022-08-21 02:32:29 +0700
commit6e27a84dba52e68fe7b75df50190934ab96c1946 (patch)
treefbcceae155bb41ff31bfd58e53da9b9183ee4a13 /http_target.go
parent644439ff61c46aec81894074203bc7d3c9acc24d (diff)
downloadgorankusu-6e27a84dba52e68fe7b75df50190934ab96c1946.tar.xz
all: reformat with Go 1.19 gofmt
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