base.go 244 Bytes
Newer Older
chenweijian's avatar
chenweijian committed
1 2 3 4 5 6 7 8 9 10 11
package event

import "hilo-user/domain"

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