1
0
mirror of https://github.com/labstack/echo.git synced 2024-11-28 08:38:39 +02:00

fix rateLimiteDoc

This commit is contained in:
harukitosa 2021-05-22 21:18:04 +09:00 committed by Martti T
parent 379bdeaa1e
commit 1c24ab8c2b

View File

@ -169,7 +169,8 @@ type (
/*
NewRateLimiterMemoryStore returns an instance of RateLimiterMemoryStore with
the provided rate (as req/s). Burst and ExpiresIn will be set to default values.
the provided rate (as req/s). The provided rate less than 1 will be treated as zero.
Burst and ExpiresIn will be set to default values.
Example (with 20 requests/sec):