Spaces:
Sleeping
Sleeping
Download server/src/proxy/mod.rs from doasyousay/gemini: direct link, hf CLI and curl.
- Browser
- Download file 487 Bytes
-
https://huggingface.co/spaces/doasyousay/gemini/resolve/main/server/src/proxy/mod.rs
- Command line
-
hf download hf://spaces/doasyousay/gemini/server/src/proxy/mod.rs
-
curl -L -o mod.rs https://huggingface.co/spaces/doasyousay/gemini/resolve/main/server/src/proxy/mod.rs
487 Bytes
| // proxy 模块 - API 反代服务 | |
| // 现有模块 (保留) | |
| pub mod config; | |
| pub mod token_manager; | |
| pub mod project_resolver; | |
| pub mod server; | |
| // 新架构模块 | |
| pub mod mappers; // 协议转换器 | |
| pub mod handlers; // API 端点处理器 | |
| pub mod middleware; // Axum 中间件 | |
| pub mod upstream; // 上游客户端 | |
| pub mod common; // 公共工具 | |
| pub use config::ProxyConfig; | |
| pub use token_manager::TokenManager; | |
| pub use server::AxumServer; | |