aboutsummaryrefslogtreecommitdiff
path: root/http_target.go
diff options
context:
space:
mode:
Diffstat (limited to 'http_target.go')
-rw-r--r--http_target.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/http_target.go b/http_target.go
index f6a12a0..8e02b14 100644
--- a/http_target.go
+++ b/http_target.go
@@ -61,14 +61,15 @@ type HTTPTarget struct {
Hint string // Description about what this HTTP target is doing.
Path string
+ Method libhttp.RequestMethod
+ RequestType libhttp.RequestType
+
// RawBody contains raw request body that is being read and
// forwarded to target.
// It will be used only WithRawBody is true.
RawBody []byte
- Results []*AttackResult // Results contains list of load testing output.
- RequestType libhttp.RequestType
- Method libhttp.RequestMethod
+ Results []*AttackResult // Results contains list of load testing output.
sync.Mutex `json:"-"` // Use this inside the Attack to lock resource.