Simple Token-Bucket Rate Limiter Run the Application $ go run . Test it $ for i in {1..6}; do curl -i http://localhost:9000/ping done