Skip to content

Commit

Permalink
Fixed some comment structure issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisCooney committed Sep 2, 2017
1 parent 268f91b commit 3a0d16b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions monkey.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (
"os"
)

// Maximum time in seconds between two attacks when running in the background.
// MaxTimeBetweenAttacks is max time in seconds between two attacks when running in the background.
var MaxTimeBetweenAttacks = 60

// A map of attack names to attacks for use as a strategy pattern.
// AttacksStrategy is a map of attack names to attacks for use as a strategy pattern.
var AttacksStrategy = map[string](func(endpointConfig EndpointConfig, attackConfig AttackConfig, responseChannel chan Response) error){"HTTP_SPAM": RunHTTPSpam,"CORRUPT_HTTP": RunCorruptHTTP,"URL_QUERY_SPAM": RunURLQuery}

func main() {
Expand Down

0 comments on commit 3a0d16b

Please sign in to comment.