|
@@ -3,7 +3,7 @@ package logstash
|
|
|
import (
|
|
|
"github.com/mhaya"
|
|
|
mhayaCron "github.com/mhaya/components/cron"
|
|
|
- mhayaMongo "github.com/mhaya/components/mongo"
|
|
|
+ mhayaGORM "github.com/mhaya/components/gorm"
|
|
|
"github.com/mhaya/game/game_cluster/internal/data"
|
|
|
"github.com/mhaya/game/game_cluster/internal/mdb"
|
|
|
"github.com/mhaya/game/game_cluster/nodes/center/module/ops"
|
|
@@ -21,7 +21,7 @@ func Run(profileFilePath, nodeId string) {
|
|
|
app.Register(mhayaCron.New())
|
|
|
app.Register(data.New())
|
|
|
// 注册db组件
|
|
|
- app.Register(mhayaMongo.NewComponent())
|
|
|
+ app.Register(mhayaGORM.NewComponent())
|
|
|
|
|
|
app.AddActors(
|
|
|
&handlelog.HandleLogObject{},
|