Documentation
¶
Index ¶
- func RefreshGame(ctx context.Context, apiGame *bgg.GameItem, familyBacklog map[int64]bool, ...) (*postgres.Game, error)
- func SeedBGGGameIds() []int64
- func UpdateEventsFromGencon(db *sql.DB, sourceFile string)
- func UpdateGamesFromBGG(ctx context.Context, db *sql.DB, api bgg.BGGClient, clock Clock)
- type Clock
- type GameCache
- type RealClock
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RefreshGame ¶
func SeedBGGGameIds ¶
func SeedBGGGameIds() []int64
func UpdateEventsFromGencon ¶
Types ¶
type GameCache ¶
type GameCache struct {
// contains filtered or unexported fields
}
func NewGameCache ¶
func (*GameCache) PeriodicallyUpdate ¶
func (gc *GameCache) PeriodicallyUpdate()
func (*GameCache) UpdateCache ¶
Click to show internal directories.
Click to hide internal directories.