📚 Update README.md

This commit is contained in:
Aykhan Shahsuvarov 2025-03-20 19:23:14 +04:00 committed by GitHub
parent b3af3f6ad5
commit 1aadc3419a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,27 +45,10 @@ Download the latest binaries from the [releases](https://github.com/aykhans/dodo
### Building from Source ### Building from Source
To build Dodo from source, ensure you have [Go 1.24+](https://golang.org/dl/) installed. Then follow these steps: To build Dodo from source, ensure you have [Go 1.24+](https://golang.org/dl/) installed.
```sh
1. **Clone the repository:** go install -ldflags "-s -w" github.com/aykhans/dodo@latest
```
```sh
git clone https://github.com/aykhans/dodo.git
```
2. **Navigate to the project directory:**
```sh
cd dodo
```
3. **Build the project:**
```sh
go build -ldflags "-s -w" -o dodo
```
This will generate an executable named `dodo` in the project directory.
## Usage ## Usage
@ -87,10 +70,10 @@ docker run --rm -i aykhans/dodo -u https://example.com -m GET -d 10 -r 1000 -t 2
### 2. Config File Usage ### 2. Config File Usage
#### 2.1 JSON Example
Send 1000 GET requests to https://example.com with 10 parallel dodos (threads) and a timeout of 800 milliseconds: Send 1000 GET requests to https://example.com with 10 parallel dodos (threads) and a timeout of 800 milliseconds:
#### 2.1 JSON Example
```jsonc ```jsonc
{ {
"method": "GET", "method": "GET",