自动更新API节点配置

This commit is contained in:
刘祥超
2021-02-24 09:00:12 +08:00
parent e129b52f1c
commit 58a0521605
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")
}