examples

command
Version: v0.0.0-...-4092148 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2021 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
t or T : Toggle theme light dark auto
y or Y : Canonical URL