diff options
| author | Shulhan <ms@kilabit.info> | 2022-08-21 02:14:04 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2022-08-21 02:32:29 +0700 |
| commit | 6e27a84dba52e68fe7b75df50190934ab96c1946 (patch) | |
| tree | fbcceae155bb41ff31bfd58e53da9b9183ee4a13 /run_request.go | |
| parent | 644439ff61c46aec81894074203bc7d3c9acc24d (diff) | |
| download | gorankusu-6e27a84dba52e68fe7b75df50190934ab96c1946.tar.xz | |
all: reformat with Go 1.19 gofmt
Diffstat (limited to 'run_request.go')
| -rw-r--r-- | run_request.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/run_request.go b/run_request.go index 36a2bca..ac875df 100644 --- a/run_request.go +++ b/run_request.go @@ -11,9 +11,7 @@ import ( vegeta "github.com/tsenart/vegeta/v12/lib" ) -// // RunRequest define the request to run HTTP or WebSocket target. -// type RunRequest struct { result *AttackResult @@ -24,10 +22,8 @@ type RunRequest struct { Locker sync.Mutex `json:"-"` } -// // generateRunRequest merge the run request with original target and HTTP // target into new RunRequest. -// func generateRunRequest( env *Environment, req *RunRequest, @@ -65,10 +61,8 @@ func generateRunRequest( return outrr } -// // generateWebSocketTarget merge the run request with original target and // WebSocket target into new RunRequest -// func generateWebSocketTarget( env *Environment, req *RunRequest, |
