mirror of
https://github.com/aykhans/dodo.git
synced 2025-04-16 09:53:12 +00:00
- Moved readers to the config package - Added an option to read remote config files - Moved the validation package to the config package and removed the validator dependency - Moved the customerrors package to the config package - Replaced fatih/color with jedib0t/go-pretty/v6/text - Removed proxy check functionality - Added param, header, cookie, body, and proxy flags to the CLI - Allowed multiple values for the same key in params, headers, and cookies
35 lines
846 B
JSON
35 lines
846 B
JSON
{
|
|
"method": "GET",
|
|
"url": "https://example.com",
|
|
"yes": false,
|
|
"timeout": "5s",
|
|
"dodos": 8,
|
|
"requests": 1000,
|
|
|
|
"params": [
|
|
{ "key1": ["value1", "value2", "value3", "value4"] },
|
|
{ "key1": "value" },
|
|
{ "key2": ["value1", "value2"] }
|
|
],
|
|
|
|
"headers": [
|
|
{ "key1": ["value1", "value2", "value3", "value4"] },
|
|
{ "key1": "value" },
|
|
{ "key2": ["value1", "value2"] }
|
|
],
|
|
|
|
"cookies": [
|
|
{ "key1": ["value1", "value2", "value3", "value4"] },
|
|
{ "key1": "value" },
|
|
{ "key2": ["value1", "value2"] }
|
|
],
|
|
|
|
"body": ["body-text1", "body-text2", "body-text3"],
|
|
|
|
"proxy": [
|
|
"http://example.com:8080",
|
|
"http://username:password@example.com:8080",
|
|
"socks5://example.com:8080",
|
|
"socks5h://example.com:8080"
|
|
]
|
|
} |