Re-exports§
pub use cache_bundle::CacheBundle;pub use clock::ServerClockRuntime;pub use utils::derive_exch_type_with_fallback;pub use utils::listing_date_to_str;pub use utils::market_code_to_exch_type_with_security;pub use utils::market_code_to_qot_market_with_security;
Modules§
- cache_
bundle - Cache ownership boundary for
super::GatewayBridge. - clock
- push_
delivery - QOT push delivery helpers.
- push_
parser - bridge push dispatcher core(v1.4.60 Phase E1 从 bridge/mod.rs 抽出)
- utils
- bridge 工具函数(v1.4.60 Phase E1 从 bridge/mod.rs 抽出)
Structs§
- Auth
Runtime - Background
Runtime - Background
Task Tracker - Broker
Conn Meta - 网关桥接器 每个 broker 通道的“重连所需元数据“缓存(v1.4.24)。
- Broker
Runtime - Broker
Status - Cache
Stats - Client
Identity Runtime - Client
SigRefresh Status - Gateway
Bridge - 网关桥接器
- Gateway
Config - 网关配置
- Login
Credential Status - Login
Status - Platform
Status - Push
Health - v1.4.83 §9 F2-F6 推送通道健康追踪。
- Push
Health Snapshot - v1.4.83 §9 F5 结构化 snapshot, 给
/api/push-subscriber-info直接序列化. - Push
Runtime - QotLogin
Health - QotLogin
Health Snapshot - v1.4.90 P1-D structured snapshot for REST exposure.
- QotRuntime
- Reference
Runtime - Reload
Report - v1.4.32+
/api/admin/reload的结构化响应。 - Reload
State - v1.4.34: bridge 保留的“reload 可用上下文“。
- Static
Cache Stats - Status
Snapshot - v1.4.32+ 只读健康状态快照(
/api/admin/status的结构化响应) - Subscription
Runtime - Trade
Write Runtime
Enums§
- Push
Event - 推送事件 (从 push_callback 通过 channel 发送)
- Reload
Refresh Status - v1.4.106 codex 0554 F3 [P2]:
/api/admin/reload两阶段拆分后, 后台 credentials refresh 任务的状态机。
Constants§
Functions§
- load_
backend - 从 SharedBackend 加载当前后端连接(原子读取,支持重连后自动更新)
Type Aliases§
- Shared
Backend - 共享的后端连接引用,支持重连后原子替换。 所有 handler 持有同一个 Arc,重连时通过 ArcSwap::store 替换内部值, handler 下次 load() 即可获取新连接。
- Shared
Push Health - 共享指针——方便 push callback / dispatcher / REST handler 多处持有.
- Shared
QotLogin Health - 共享指针 — bridge spawn 30s polling task + REST handler 共享.