发行 1.10版本

This commit is contained in:
dengsgo 2019-06-04 11:25:19 +08:00
parent c9aedb2d34
commit a69cbeea2d
4 changed files with 18 additions and 9 deletions

View File

@ -1,3 +1,12 @@
### Release v1.10
2019.06.04
- 优化 log
- 优化 代码逻辑
- 修复 gin框架hotReload
### Release v1.9
2019.04.03

View File

@ -41,8 +41,8 @@ go version 1.12
### 下载二进制文件
Github: [download v1.9](https://github.com/dengsgo/fileboy/releases)
Gitee: [dowmload v1.9](https://gitee.com/dengsgo/fileboy/releases)
Github: [download v1.10](https://github.com/dengsgo/fileboy/releases)
Gitee: [dowmload v1.10](https://gitee.com/dengsgo/fileboy/releases)
下载已经编译好的对应平台二进制文件,重命名为`fileboy`, 加入系统 Path 中即可。
___
@ -153,7 +153,7 @@ notifier:
# 请求超时 15 秒
# POST 格式:
# Content-Type: application/json;charset=UTF-8
# User-Agent: FileBoy Net Notifier v1.9
# User-Agent: FileBoy Net Notifier v1.10
# Body: {"project_folder":"/watcher-dirs","file":"test.go","changed":1546421173070433800,"ext":".go"}
# 例: http://example.com/notifier/fileboy-listener
# 不启用通知,请留空 ""
@ -216,7 +216,7 @@ notifier:
# timeout 15 second
# POST :
# Content-Type: application/json;charset=UTF-8
# User-Agent: FileBoy Net Notifier v1.9
# User-Agent: FileBoy Net Notifier v1.10
# Body: {"project_folder":"/watcher-dirs","file":"test.go","changed":1546421173070433800,"ext":".go"}
# e.g: http://example.com/notifier/fileboy-listener
# no notice is enabled. Please leave it blank. ""

View File

@ -60,7 +60,7 @@ func (n *NetNotifier) dispatch(params *postParams) {
return
}
req.Header.Set("Content-Type", "application/json;charset=UTF-8")
req.Header.Set("User-Agent", "FileBoy Net Notifier v1.9")
req.Header.Set("User-Agent", "FileBoy Net Notifier v1.10")
resp, err := client.Do(req)
if err != nil {
log.Println(PreError, "notifier call failed. err:", err)

8
raw.go
View File

@ -61,7 +61,7 @@ notifier:
# 请求超时 15
# POST 格式:
# Content-Type: application/json;charset=UTF-8
# User-Agent: FileBoy Net Notifier v1.9
# User-Agent: FileBoy Net Notifier v1.10
# Body: {"project_folder":"/watcher-dirs","file":"test.go","changed":1546421173070433800,"ext":".go"}
# : http://example.com/notifier/fileboy-listener
# 不启用通知请留空 ""
@ -104,13 +104,13 @@ var logo = `
_____ _ | | _____ ____) ) | | | |___| |
| ___) | | | | | ___) | __ (| | | |\_____/
| | _| |_| |_____| |_____| |__) ) |___| | ___
|_| (_____)_______)_______)______/ \_____/ (___) V1.9
|_| (_____)_______)_______)______/ \_____/ (___) V1.10
`
var statement = `Dengsgo [dengsgo@gmail.com] Open Source with MIT License`
var versionDesc = `
Version fileboy: v1.9 filegirl: v` + strconv.Itoa(Version) + `
Released 2019.4.3
Version fileboy: v1.10 filegirl: v` + strconv.Itoa(Version) + `
Released 2019.6.4
Licence MIT
Author dengsgo [dengsgo@gmail.com]
Website https://github.com/dengsgo/fileboy