[优化] 更新文档

This commit is contained in:
ryan
2026-06-01 23:19:32 +08:00
parent a850b0a188
commit 2525664013
76 changed files with 6493 additions and 2497 deletions
+33
View File
@@ -76,6 +76,39 @@ cd openflare_agent
GOCACHE=/tmp/openflare-go-cache go test ./...
```
## Relay (中继端)
源码运行:
```bash
cd openflare_relay
go run ./cmd -config /path/to/relay.json
```
编译:
```bash
cd openflare_relay
go build -o openflare-relay ./cmd
```
## OpenFlared (Client 客户端)
源码运行:
```bash
cd openflared
go run ./cmd -config /path/to/flared.json
```
编译:
```bash
cd openflared
go build -o openflared ./cmd
```
## 安装 Agent
```bash