mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-09 02:47:45 +08:00
refactor: 拆分 gateway 单体为独立 crate,新增 systemd 部署方案
将 gateway 内部的 model-fetch、provider-transport、scheduler-core、 usage-runtime、video-tasks-core 模块提取为独立 crate;重构 gateway 内部模块结构(state/router/cache/data/query 等);移除大量遗留模块 文件;新增 systemd 二进制部署骨架及相关文档;更新前端 usage 相关 API 和组件。
This commit is contained in:
@@ -7,6 +7,7 @@ mod error;
|
||||
pub mod metrics;
|
||||
mod observability;
|
||||
pub mod queue;
|
||||
pub mod redaction;
|
||||
pub mod shutdown;
|
||||
pub mod task;
|
||||
mod tracing;
|
||||
@@ -23,9 +24,14 @@ pub use distributed::{
|
||||
};
|
||||
pub use error::RuntimeBootstrapError;
|
||||
pub use metrics::{prometheus_response, service_up_sample, MetricKind, MetricLabel, MetricSample};
|
||||
pub use observability::ServiceObservabilityConfig;
|
||||
pub use observability::{
|
||||
FileLoggingConfig, LogDestination, LogRotation, ServiceObservabilityConfig,
|
||||
};
|
||||
pub use queue::{
|
||||
bounded_queue, BoundedQueueReceiver, BoundedQueueSender, QueueSendError, QueueSnapshot,
|
||||
};
|
||||
pub use redaction::{summarize_text_payload, TextPayloadSummary};
|
||||
pub use shutdown::wait_for_shutdown_signal;
|
||||
pub use tracing::{init_reloadable_tracing, LogFormat, LogReloader};
|
||||
pub use tracing::{
|
||||
init_reloadable_service_tracing, init_reloadable_tracing, LogFormat, LogReloader,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user