feat kafka

This commit is contained in:
2026-01-24 22:47:41 +08:00
parent 8de7ab4a67
commit 62ebfa17ea
4 changed files with 12 additions and 5 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, common.KeyDiscoverServiceNameGateway))
p.moduleList = append(p.moduleList, (&module.DB{}).Bind(config.Get().DB))
p.moduleList = append(p.moduleList, &ModuleWebServer{})
p.moduleList = append(p.moduleList, &ModuleWebsocketServer{})
p.moduleList = append(p.moduleList, &ModuleLoginQueue{})