自动更新API节点配置

This commit is contained in:
GoEdgeLab
2021-02-24 09:00:12 +08:00
parent e9016a2d5d
commit 16d661a236
3 changed files with 115 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
package tasks
import (
_ "github.com/iwind/TeaGo/bootstrap"
"testing"
)
func TestSyncAPINodesTask_Loop(t *testing.T) {
task := NewSyncAPINodesTask()
err := task.Loop()
if err != nil {
t.Fatal(err)
}
t.Log("ok")
}