自动更新管控端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
xyiege b63a7eddf0 归档之前的代码 10 months ago
..
config 归档之前的代码 10 months ago
discovery 归档之前的代码 10 months ago
handler 归档之前的代码 10 months ago
transfer 归档之前的代码 10 months ago
util 归档之前的代码 10 months ago
README.md 归档之前的代码 10 months ago
build.bat 归档之前的代码 10 months ago
fstc 归档之前的代码 10 months ago
go.mod 归档之前的代码 10 months ago
go.sum 归档之前的代码 10 months ago
main.go 归档之前的代码 10 months ago

README.md

文件系统 第二版本

软件用于客户端,用于处理更新文件

被动更新模式 接收文件 --》查找文件并备份 --》 文件覆盖

1、接收的zip文件存放在files 下面 2、单文件能自动重命名原来的文件

更新功能

1、涉及到更新的文件,需要做zip压缩。存放在backup 目录下 2、系统启动的时候,扫描监视目录的变动。 3、扫描结果发送到主控端 4、计算文件hash,对比文件的列表

主控发起查询请求,将查询到的数据 反馈到主控

set GOOS=linux
set GOARCH=amd64
set CGO_ENABLED=0
color 16
go build -o fstc main.go