gamelist.go 285 B

123456789101112131415161718192021
  1. package gamelist
  2. import (
  3. "bet24.com/log"
  4. "bet24.com/servers/transaction"
  5. )
  6. var list *gamelistMgr
  7. func Run() {
  8. log.Debug("gamelist running")
  9. list = newGamelistMgr()
  10. }
  11. func GetGame(gameId int) *transaction.GameInfo {
  12. return list.getGame(gameId)
  13. }
  14. func Dump() {
  15. list.dump()
  16. }