32 lines
485 B
Go
32 lines
485 B
Go
package task
|
|
|
|
import (
|
|
)
|
|
|
|
type taskMgr struct {
|
|
webHook
|
|
repairNft
|
|
sysMail
|
|
repairOrder
|
|
refreshMeta
|
|
contribution
|
|
}
|
|
|
|
func (this *taskMgr) Init() {
|
|
this.webHook.init()
|
|
this.repairNft.init()
|
|
this.sysMail.init()
|
|
this.repairOrder.init()
|
|
//this.refreshMeta.init()
|
|
this.contribution.init()
|
|
}
|
|
|
|
func (this *taskMgr) UnInit() {
|
|
this.contribution.unInit()
|
|
//this.refreshMeta.unInit()
|
|
this.repairOrder.unInit()
|
|
this.sysMail.unInit()
|
|
this.repairNft.unInit()
|
|
this.webHook.unInit()
|
|
}
|