mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-12-09 01:10:26 +08:00
feat: message notify
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
package application
|
||||
|
||||
import (
|
||||
_ "mayfly-go/internal/msg/msgx/sender" // 注册消息发送器
|
||||
"mayfly-go/pkg/ioc"
|
||||
)
|
||||
|
||||
func InitIoc() {
|
||||
ioc.Register(new(msgAppImpl), ioc.WithComponentName("MsgApp"))
|
||||
ioc.Register(new(msgChannelAppImpl), ioc.WithComponentName("MsgChannelApp"))
|
||||
ioc.Register(new(msgTmplAppImpl), ioc.WithComponentName("MsgTmplApp"))
|
||||
ioc.Register(new(msgTmplBizAppImpl), ioc.WithComponentName("MsgTmplBizApp"))
|
||||
}
|
||||
|
||||
func GetMsgApp() Msg {
|
||||
|
||||
Reference in New Issue
Block a user