Documentation ¶
Overview ¶
Example of using the throttling rate limiter Start a Redis instance in Docker like this: docker run -itd --name redis -p 6379:6379 redis:alpine Run this example with: go run throttling_api.go Make some requests and watch them throttle: curl http://localhost:7777/api
Click to show internal directories.
Click to hide internal directories.