aboutsummaryrefslogtreecommitdiff
path: root/run_request.go
diff options
context:
space:
mode:
Diffstat (limited to 'run_request.go')
-rw-r--r--run_request.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/run_request.go b/run_request.go
index 174781d..78c7b12 100644
--- a/run_request.go
+++ b/run_request.go
@@ -16,11 +16,13 @@ import (
// RunRequest define the request to run HTTP or WebSocket target.
//
type RunRequest struct {
- Locker sync.Mutex `json:"-"`
+ result *AttackResult
+
Target Target
- HttpTarget HttpTarget
WebSocketTarget WebSocketTarget
- result *AttackResult
+ HttpTarget HttpTarget
+
+ Locker sync.Mutex `json:"-"`
}
//