feat: add control center, multiple relay nodes and P2P-first transport

This commit is contained in:
tongtong committed 2026-11-12 16:56:06 +08:00
1 parent 0988e9c363
commit 2abfb63da9
44 files changed
+3477 -67

No files matched your search

+3 -1
View File
@@ -15,6 +15,8 @@ try {
try {
go build -trimpath -o (Join-Path $projectRoot 'bin/ads-server.exe') .
if ($LASTEXITCODE -ne 0) { throw 'Go build failed' }
go build -trimpath -o (Join-Path $projectRoot 'bin/ads-relay.exe') ./cmd/ads-relay
if ($LASTEXITCODE -ne 0) { throw 'Relay build failed' }
} finally { Pop-Location }
} finally { Pop-Location }
Write-Host "Built server, agent and client in $projectRoot/bin"
Write-Host "Built control server, relay node, agent and client in $projectRoot/bin"
+1
View File
@@ -7,3 +7,4 @@ mkdir -p bin
cp target/release/ads-agent target/release/ads-client bin/
cd server
go build -trimpath -o ../bin/ads-server .
go build -trimpath -o ../bin/ads-relay ./cmd/ads-relay