更新时延计算

This commit is contained in:
nnbcccscdscdsc
2026-03-23 21:30:37 +08:00
parent 2dd33bf73e
commit 32e77df476
6 changed files with 178 additions and 35 deletions

View File

@@ -38,19 +38,7 @@ CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=7 go build -o bin/server-linux-armv7 .
CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=7 go build -o bin/peer-linux-armv7 ./cmd/peer
```
## Deploy
把对应架构的二进制拷到目标机器,并赋予可执行权限。
```bash
scp bin/server-linux-amd64 user@server-host:~/omnisocket/server
scp bin/peer-linux-amd64 user@peer-host:~/omnisocket/peer
```
```bash
ssh user@server-host 'chmod +x ~/omnisocket/server'
ssh user@peer-host 'chmod +x ~/omnisocket/peer'
```
## Run On Different Machines