Skip to content

Commit

Permalink
document what dynamic stands for
Browse files Browse the repository at this point in the history
  • Loading branch information
arriven committed May 8, 2022
1 parent d856e84 commit a4d77bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/job/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ import (
type httpJobConfig struct {
BasicJobConfig

Dynamic bool
Request map[string]any
Client map[string]any // See HTTPClientConfig
Dynamic bool // parse template on every iteration. slower but allows more variability in generated traffic
Request map[string]any // See http.RequestConfig
Client map[string]any // See http.ClientConfig
}

// "http-request" in config
Expand Down
2 changes: 1 addition & 1 deletion src/job/packetgen.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import (

type packetgenJobConfig struct {
BasicJobConfig
Dynamic bool
Dynamic bool // parse template on every iteration. slower but allows more variability in generated traffic
Packets []*templates.MapStruct
Connection packetgen.ConnectionConfig
}
Expand Down

0 comments on commit a4d77bc

Please sign in to comment.