mirror of
https://github.com/farseer-go/eventBus.git
synced 2025-12-24 13:37:51 +08:00
18 lines
317 B
Go
18 lines
317 B
Go
package eventBus
|
|
|
|
import (
|
|
"github.com/farseer-go/collections"
|
|
"github.com/farseer-go/fs/modules"
|
|
)
|
|
|
|
type Module struct {
|
|
}
|
|
|
|
func (module Module) DependsModule() []modules.FarseerModule {
|
|
return nil
|
|
}
|
|
|
|
func (module Module) PreInitialize() {
|
|
subscriber = collections.NewDictionary[string, []subscribeConsumer]()
|
|
}
|