rate-limit-middleware

command module
v0.0.0-...-c53fb6e Latest Latest
Warning

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

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

README

Rate-Limite-Middleware

APIのレートリミットを制御するGoのecho用ミドルウェアです.

Getting Started

  1. cd example
  2. source .env 環境変数の読み込み
  3. go run main.go
  4. docker compose up -d --build containerを立ち上げる
  5. docker logs curl --follow curl側でリクエストが送信されていることをかくにんする
  6. docker logs nginx --follow nginx側でのリクエスト処理を確認

動作の様子

代替テキスト

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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