examples

command
v0.0.0-...-392718e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2023 License: MIT Imports: 8 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL