mirror of
https://github.com/oneclickvirt/nt3.git
synced 2025-09-26 20:41:36 +08:00
fix: 更新版本和说明
This commit is contained in:
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@@ -27,7 +27,7 @@ jobs:
|
||||
run: |
|
||||
git config --global user.name 'github-actions'
|
||||
git config --global user.email 'github-actions@github.com'
|
||||
TAG="v0.0.7-$(date +'%Y%m%d%H%M%S')"
|
||||
TAG="v0.0.8-$(date +'%Y%m%d%H%M%S')"
|
||||
git tag $TAG
|
||||
git push origin $TAG
|
||||
echo "TAG=$TAG" >> $GITHUB_ENV
|
||||
|
@@ -11,6 +11,7 @@
|
||||
- [x] 使用[nexttrace](https://github.com/nxtrace/NTrace-core)进行ICMP测试,预先加载定义好的广州、上海、北京、成都的三网地址
|
||||
- [x] 支持双语输出,以```-l```指定```zh```或```en```可指定输出的语言,未指定时默认使用中文输出
|
||||
- [x] 全平台编译支持(除了WIN)
|
||||
- [x] 默认启用并发测试,单地点三网测试至多需要1~2分钟
|
||||
|
||||
## 使用
|
||||
|
||||
|
@@ -16,7 +16,6 @@ func main() {
|
||||
http.Get("https://hits.spiritlhl.net/nt3.svg?action=hit&title=Hits&title_bg=%23555555&count_bg=%230eecf8&edge_flat=false")
|
||||
}()
|
||||
fmt.Println("Repo:", "https://github.com/oneclickvirt/nt3")
|
||||
|
||||
var showVersion, help bool
|
||||
var language, checkType, location string
|
||||
nt3Flag := flag.NewFlagSet("nt3", flag.ContinueOnError)
|
||||
@@ -27,7 +26,6 @@ func main() {
|
||||
nt3Flag.StringVar(&location, "loc", "GZ", "Specify location (supports GZ, BJ, SH, CD, ALL; corresponding to Guangzhou, Beijing, Shanghai, Chengdu and All)")
|
||||
nt3Flag.BoolVar(&model.EnableLoger, "log", false, "Enable logging")
|
||||
nt3Flag.Parse(os.Args[1:])
|
||||
|
||||
if help {
|
||||
fmt.Printf("Usage: %s [options]\n", os.Args[0])
|
||||
nt3Flag.PrintDefaults()
|
||||
|
@@ -20,7 +20,7 @@ type ParamsFastTrace struct {
|
||||
DontFragment bool
|
||||
}
|
||||
|
||||
var NextTraceVersion = "v0.0.7"
|
||||
var NextTraceVersion = "v0.0.8"
|
||||
|
||||
var EnableLoger = false
|
||||
|
||||
|
Reference in New Issue
Block a user