重命名节点与网关入口包;添加构建和启动边缘节点的 PowerShell 脚本
This commit is contained in:
1
cmd/edge/.env.example
Normal file
1
cmd/edge/.env.example
Normal file
@@ -0,0 +1 @@
|
||||
FWD_HOST=127.0.0.1
|
||||
10
cmd/edge/main.go
Normal file
10
cmd/edge/main.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package main
|
||||
|
||||
import "proxy-server/edge"
|
||||
|
||||
func main() {
|
||||
err := edge.Start()
|
||||
if err != nil {
|
||||
println(err.Error())
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user