feat kafka

This commit is contained in:
2026-01-27 17:16:25 +08:00
parent 174cd09ba6
commit 2ea538995a
3 changed files with 4 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ func (p *Program) Init(_ svc.Environment) error {
return err
}
p.moduleList = append(p.moduleList, base)
p.moduleList = append(p.moduleList, (&module.DB{}).Bind(config.Get().DB))
p.moduleList = append(p.moduleList, (&module.DB{}).Bind(config.Get().DB, config.Get().App.Name))
p.moduleList = append(p.moduleList, &ModuleWebServer{})
p.moduleList = append(p.moduleList, &ModuleWebsocketServer{})
p.moduleList = append(p.moduleList, &ModuleLoginQueue{})