mirror of
https://github.com/aykhans/dodo.git
synced 2025-04-16 09:53:12 +00:00
💄 General refactoring
This commit is contained in:
parent
aa6ec450b8
commit
fc3244dc33
@ -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" \
|
||||||
|
3
main.go
3
main.go
@ -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()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user