1
0

refactor: 项目更名为 DiAL(统一拨测平台)

将 gateway-checker/Gateway Checker 统一替换为 dial-server/DiAL
- 包名、可执行文件名、API service 标识改为 dial-server
- UI 标题改为 DiAL,副标题改为统一拨测平台
- 同步更新测试断言、构建脚本、示例配置和文档
This commit is contained in:
2026-05-11 22:23:17 +08:00
parent 767f26617e
commit 3fa1b3957e
13 changed files with 25 additions and 25 deletions

View File

@@ -244,7 +244,7 @@ function formatDuration(ms: number): string {
function createHealthResponse(): HealthResponse {
return {
ok: true,
service: "gateway-checker",
service: "dial-server",
timestamp: new Date().toISOString(),
};
}

View File

@@ -1,6 +1,6 @@
export function readRuntimeConfig(argv: string[] = process.argv.slice(2)): { configPath: string } {
if (argv.length === 0) {
throw new Error("需要指定 YAML 配置文件路径\n用法: gateway-checker <config.yaml>");
throw new Error("需要指定 YAML 配置文件路径\n用法: dial-server <config.yaml>");
}
return { configPath: argv[0]! };

View File

@@ -23,7 +23,7 @@ export function startServer(options: StartServerOptions) {
}),
});
console.log(`Gateway Checker listening on ${server.url}`);
console.log(`DiAL listening on ${server.url}`);
return server;
}