Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

For example, if the route is configured with limit-rate: "1024k", then the IP speed limit of the route is restricted to a speed of 1MB/s.
If the route is configured with global-limit-rate: "10240k", then the total bandwidth of the route is restricted to a speed of 10MB/s.

You must be logged in to vote

Replies: 1 comment · 1 reply

Comment options

There is rate limiter middleware. See docs here https://echo.labstack.com/docs/middleware/rate-limiter it uses official Rate limit package (https://pkg.go.dev/golang.org/x/time/rate) under the hood, so check it for details.

You must be logged in to vote
1 reply
@seepine
Comment options

Sorry, I don't want to limit the request times, I want to limit the bandwidth.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.