增加一些注释、测试等

This commit is contained in:
GoEdgeLab
2021-01-21 11:00:46 +08:00
parent 9a0bdde211
commit 5eef6ac267
4 changed files with 13 additions and 1 deletions

View File

@@ -49,7 +49,7 @@ func (this *IPListManager) Start() {
remotelogs.Println("IP_LIST_MANAGER", err.Error())
}
ticker := time.NewTicker(60 * time.Second) // TODO 未来改成可以手动触发IP变更事件
ticker := time.NewTicker(60 * time.Second)
events.On(events.EventQuit, func() {
ticker.Stop()
})