Merge pull request #96 from aykhans/refactor/general
All checks were successful
golangci-lint / lint (push) Successful in 3m58s

💄 General refactoring
This commit is contained in:
Aykhan Shahsuvarov 2025-03-19 05:29:13 +04:00 committed by GitHub
commit 0aeeb484e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1 additions and 4 deletions

View File

@ -27,7 +27,7 @@ Usage with all flags:
-u https://example.com -m POST \ -u https://example.com -m POST \
-d 10 -r 1000 -t 3s \ -d 10 -r 1000 -t 3s \
-b "body1" -body "body2" \ -b "body1" -body "body2" \
-H "header1: value1" -header "header2: value2" \ -H "header1:value1" -header "header2:value2" \
-p "param1=value1" -param "param2=value2" \ -p "param1=value1" -param "param2=value2" \
-c "cookie1=value1" -cookie "cookie2=value2" \ -c "cookie1=value1" -cookie "cookie2=value2" \
-x "http://proxy.example.com:8080" -proxy "socks5://proxy2.example.com:8080" \ -x "http://proxy.example.com:8080" -proxy "socks5://proxy2.example.com:8080" \

View File

@ -36,9 +36,6 @@ func main() {
utils.PrintErrAndExit(errors.Join(errs...)) utils.PrintErrAndExit(errors.Join(errs...))
} }
// for _, param := range conf.Params {
// fmt.Printf("%s: %v\n", param.Key, param.Value)
// }
requestConf := config.NewRequestConfig(conf) requestConf := config.NewRequestConfig(conf)
requestConf.Print() requestConf.Print()

View File