eg:
cd per-client-rate-limiting
go run .
$ for i in {1..6}; do curl http://localhost:8080/ping; done
{"status":"Successful","body":"Hi youve reached the ApAPI"}
{"status":"Successful","body":"Hi youve reached the ApAPI"}
{"status":"Successful","body":"Hi youve reached the ApAPI"}
{"status":"Successful","body":"Hi youve reached the ApAPI"}
{"status":"Request Failed","body":"The API is at capacity, please try again later."}
{"status":"Request Failed","body":"The API is at capacity, please try again later."}