refactor: 项目更名为 DiAL(统一拨测平台)
将 gateway-checker/Gateway Checker 统一替换为 dial-server/DiAL - 包名、可执行文件名、API service 标识改为 dial-server - UI 标题改为 DiAL,副标题改为统一拨测平台 - 同步更新测试断言、构建脚本、示例配置和文档
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Gateway Checker
|
||||
# DiAL
|
||||
|
||||
基于 Bun + TypeScript 的多类型拨测监控工具。通过 YAML 配置文件定义 HTTP 和命令行拨测目标,后端按配置定时并发拨测,结果持久化到本地 SQLite,前端 Dashboard 展示各目标实时状态、可用率、耗时趋势等。
|
||||
|
||||
@@ -233,12 +233,12 @@ bun run build
|
||||
1. 运行 `vite build`,输出前端资源到 `dist/web`
|
||||
2. 生成临时 `.build/static-assets.ts`,嵌入 Vite 产物
|
||||
3. 生成临时 `.build/server-entry.ts`,作为生产入口
|
||||
4. 运行 `Bun.build({ compile })`,输出 `dist/gateway-checker`
|
||||
4. 运行 `Bun.build({ compile })`,输出 `dist/dial-server`
|
||||
|
||||
运行 executable:
|
||||
|
||||
```bash
|
||||
./dist/gateway-checker probes.yaml
|
||||
./dist/dial-server probes.yaml
|
||||
```
|
||||
|
||||
## 运行参数
|
||||
@@ -246,7 +246,7 @@ bun run build
|
||||
CLI 只接受一个参数:YAML 配置文件路径。
|
||||
|
||||
```bash
|
||||
./dist/gateway-checker ./probes.yaml
|
||||
./dist/dial-server ./probes.yaml
|
||||
```
|
||||
|
||||
## 测试
|
||||
|
||||
Reference in New Issue
Block a user