多个API节点时选择一个作为主节点/优化任务相关代码

This commit is contained in:
GoEdgeLab
2022-04-23 12:32:30 +08:00
parent 7a961f5a24
commit 777732d98d
35 changed files with 467 additions and 350 deletions

View File

@@ -0,0 +1,9 @@
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved. Official site: https://goedge.cn .
package tasks
type TaskInterface interface {
Start() error
Loop() error
Stop() error
}