48 lines
1.1 KiB
Go
48 lines
1.1 KiB
Go
package win88
|
|
|
|
import (
|
|
"encoding/gob"
|
|
|
|
"mongo.games.com/goserver/core/basic"
|
|
"mongo.games.com/goserver/core/netlib"
|
|
"mongo.games.com/goserver/core/profile"
|
|
"mongo.games.com/goserver/core/schedule"
|
|
"mongo.games.com/goserver/core/transact"
|
|
"mongo.games.com/goserver/core/utils"
|
|
|
|
"mongo.games.com/game/mgrsrv/api"
|
|
"mongo.games.com/game/model"
|
|
"mongo.games.com/game/rpc"
|
|
)
|
|
|
|
func init() {
|
|
gob.Register(utils.RuntimeStats{})
|
|
|
|
gob.Register(model.PlayerOLStats{})
|
|
gob.Register(map[string]*model.APITransactStats{})
|
|
|
|
gob.Register(rpc.State{})
|
|
gob.Register(map[string]rpc.State{})
|
|
|
|
gob.Register(api.ApiStats{})
|
|
gob.Register(map[string]api.ApiStats{})
|
|
|
|
gob.Register(profile.TimeElement{})
|
|
gob.Register(map[string]profile.TimeElement{})
|
|
|
|
gob.Register(netlib.ServiceStats{})
|
|
gob.Register(map[int]netlib.ServiceStats{})
|
|
|
|
gob.Register(schedule.TaskStats{})
|
|
gob.Register(map[string]schedule.TaskStats{})
|
|
|
|
gob.Register(transact.TransStats{})
|
|
gob.Register(map[int]transact.TransStats{})
|
|
|
|
gob.Register(utils.PanicStackInfo{})
|
|
gob.Register(map[string]utils.PanicStackInfo{})
|
|
|
|
gob.Register(basic.CmdStats{})
|
|
gob.Register(map[string]basic.CmdStats{})
|
|
}
|