1
This commit is contained in:
17
internal/app/common/logic/eventBus/event_bus.go
Normal file
17
internal/app/common/logic/eventBus/event_bus.go
Normal file
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* @Company: 云南奇讯科技有限公司
|
||||
* @Author: yxf
|
||||
* @Description:
|
||||
* @Date: 2024/1/25 16:22
|
||||
*/
|
||||
|
||||
package eventBus
|
||||
|
||||
import (
|
||||
"github.com/asaskevich/EventBus"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/common/service"
|
||||
)
|
||||
|
||||
func init() {
|
||||
service.RegisterEventBus(EventBus.New())
|
||||
}
|
||||
Reference in New Issue
Block a user