Files
quoter/src/handlers/mod.rs

14 lines
379 B
Rust
Raw Normal View History

2024-10-22 00:36:42 +03:00
mod proxy;
2025-08-02 00:18:09 +03:00
mod quota;
2024-10-22 00:36:42 +03:00
mod serve_file;
2025-08-02 00:18:09 +03:00
mod upload;
2025-09-01 20:36:15 +03:00
mod user;
2024-10-22 00:36:42 +03:00
pub use proxy::proxy_handler;
2025-08-02 00:18:09 +03:00
pub use quota::{get_quota_handler, increase_quota_handler, set_quota_handler};
2025-06-02 22:20:37 +03:00
pub use upload::upload_handler;
2025-09-01 20:36:15 +03:00
pub use user::get_current_user_handler;
2024-10-22 00:36:42 +03:00
2025-08-02 00:18:09 +03:00
// Общий лимит квоты на пользователя: 5 ГБ
2025-09-01 22:58:03 +03:00
pub const MAX_USER_QUOTA_BYTES: u64 = 5 * 1024 * 1024 * 1024;