main.go 391 B

123456789101112131415161718192021
  1. package gamelogic
  2. import (
  3. "bet24.com/servers/games/baloot/config"
  4. "bet24.com/servers/insecureframe/frame"
  5. )
  6. var Stopping bool
  7. func Run() {
  8. if test() {
  9. return
  10. }
  11. Stopping = false
  12. frame.RunFrameWithLogServer(newGameSink(), config.Server.ChannelUrl,
  13. config.Server.ChannelPassword, config.Server.RedisDB, config.Server.LogPath)
  14. }
  15. func test() bool {
  16. return newCardLogic().test()
  17. }