mirror of
https://github.com/labstack/echo.git
synced 2024-11-28 08:38:39 +02:00
fix rateLimiteDoc
This commit is contained in:
parent
379bdeaa1e
commit
1c24ab8c2b
@ -169,7 +169,8 @@ type (
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
NewRateLimiterMemoryStore returns an instance of RateLimiterMemoryStore with
|
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):
|
Example (with 20 requests/sec):
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user