starter repo

This commit is contained in:
wagslane
2024-04-02 12:38:06 -06:00
parent d4a1dc9bdf
commit 4885f7a113
18 changed files with 624 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
package routing
import "time"
type PlayingState struct {
IsPaused bool
}
type GameLog struct {
CurrentTime time.Time
Message string
Username string
}

View File

@@ -0,0 +1,16 @@
package routing
const (
ArmyMovesPrefix = "army_moves"
WarRecognitionsPrefix = "war"
PauseKey = "pause"
GameLogSlug = "game_logs"
)
const (
ExchangePerilDirect = "peril_direct"
ExchangePerilTopic = "peril_topic"
)