base.go 258 Bytes
Newer Older
chenweijian's avatar
chenweijian committed
1 2
package event

3
import "git.hilo.cn/hilo-common/domain"
chenweijian's avatar
chenweijian committed
4 5 6 7 8 9 10 11

// 程序内部事件
type Base struct {
	//同步执行
	SyncList []func(model *domain.Model, event interface{}) error
	//异步执行
	AsyncList []func(model *domain.Model, event interface{}) error
}