diff options
author | Emile <hanemile@protonmail.com> | 2019-11-02 22:12:06 +0100 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2019-11-02 22:12:06 +0100 |
commit | ab34abaaee5580048fff2212255c4615fcc9d2ae (patch) | |
tree | 98b90216fa57198f18f009e4680df3016c709426 /src | |
parent | 3bd9baca5b0b97ec309aa5cf5dc0c88e0841661a (diff) |
better naming
Diffstat (limited to 'src')
-rw-r--r-- | src/main.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.go b/src/main.go index bfb839c..0a6dfca 100644 --- a/src/main.go +++ b/src/main.go @@ -7,7 +7,7 @@ import ( func main() { // read command line arguments, create channels... registerFlags() - channels = registerChannels() + channelsStruct := registerChannels() // read the wordlist from a file wordlist, err := readWordlist(wordlist) @@ -18,12 +18,12 @@ func main() { // write into the wordlist channel and read out of the print channel // these functions wait for input into the channels and process the given // data - go writeWordlistToChannel(channels, wordlist) - go printResponses(channels) + go writeWordlistToChannel(channelsStruct, wordlist) + go printResponses(channelsStruct) // start the http server exposing the data found go httpStartServer() // make the http requests by fetching the data from the channels - httpHandler(wordlistChannel, printChannel, doneChannel) + httpHandler(channelsStruct) } |