配置更新时立即向集群节点发消息

This commit is contained in:
GoEdgeLab
2020-10-09 12:03:53 +08:00
parent 904d1f4b41
commit 0859ff4598
3 changed files with 30 additions and 6 deletions

View File

@@ -32,6 +32,7 @@ function build() {
cp configs/api.template.yaml $DIST/configs
cp -R www $DIST/
cp -R pages $DIST/
echo "building ..."
env GOOS=${1} GOARCH=${2} go build -o $DIST/bin/${NAME} -ldflags="-s -w" ../cmd/edge-node/main.go