mirror of
https://github.com/andwati/telecom-platform.git
synced 2026-10-28 23:52:15 +00:00
- Add rate_limit module to lib.rs exports - Add create_rate_limiter function with SmartIpKeyExtractor for IP-based limiting - Add RATE_LIMIT_RPS environment variable with 10 requests/second default - Add RATE_LIMIT_BURST environment variable with 20 burst size default - Add RateLimitResponse struct with TOO_MANY_REQUESTS status code - Add GovernorLayer with per_second quota and burst_size configuration to router
10 lines
163 B
Rust
10 lines
163 B
Rust
pub mod auth;
|
|
pub mod charging;
|
|
pub mod circuit_breaker;
|
|
pub mod errors;
|
|
pub mod handlers;
|
|
pub mod rate_limit;
|
|
pub mod routes;
|
|
pub mod models;
|
|
pub mod monitoring;
|