Crates.io | actix-rate-limit |
lib.rs | actix-rate-limit |
version | 0.3.1 |
source | src |
created_at | 2021-01-09 11:00:50.566249 |
updated_at | 2021-01-29 12:31:10.682112 |
description | Rate-Limit middleware for actix-web |
homepage | |
repository | https://github.com/arniu/kepton |
max_upload_size | |
id | 336181 |
size | 24,055 |
actix-web
参考 GitHub API v3 接口,针对用户认证与否,有区别的限流。
比如认证用户,每小时可访问 600
次;未认证用户,根据 ip
划分,每小时可访问 60
次。