Disclaimer This is one of my first times using Go. Don't expect good (or even average) code quality and feel free to open bug on bad code smell.
Get the executable for your OS and Architecture from the Releases section of this repo.
Start the executable, send as many request as you want.
Port:
- the first argument will be used as port
- default port is 4321
Examples:
- ?size=1k returns 1 KB of random data.
- ?delay=10000&size=1k returns 1 KB of random data after a delay of (about) 10 seconds.
- ?size=100M returns 100 MB of random data.
- ?size=512 returns 512 Byte of random data.
- Download and install Go.
- Clone repo
- Navigate to repo with your terminal
- Run
go build
. This will build Nadire for your operating system and processor architecture.
As the Server generated random data it's name was chosen by random via behindthename.com