33 lines
497 B
Go
33 lines
497 B
Go
package slots
|
|
|
|
import (
|
|
"mongo.games.com/game/gamesrv/slotspkg/slots/plugin"
|
|
"mongo.games.com/goserver/core/module"
|
|
"time"
|
|
)
|
|
|
|
var SlotsMgrSington = &SlotsMgr{}
|
|
|
|
type SlotsMgr struct {
|
|
}
|
|
|
|
func (sm *SlotsMgr) ModuleName() string {
|
|
return "slots"
|
|
}
|
|
func ServiceName() string {
|
|
return "slots"
|
|
}
|
|
func (sm *SlotsMgr) Init() {
|
|
plugin.Init()
|
|
}
|
|
func (sm *SlotsMgr) Update() {
|
|
|
|
}
|
|
|
|
func (sm *SlotsMgr) Shutdown() {
|
|
plugin.Close()
|
|
}
|
|
func init() {
|
|
module.RegisteModule(SlotsMgrSington, time.Hour, 0)
|
|
}
|