Documentation
¶
Overview ¶
contains wrappers for fetch query functions. each query is abstracted in its own function as they utilize different dynamodb tools (indexes, etc.)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GameOutput ¶
type GameOutput struct { GameId string `dynamodbav:"gameid" json:"gameid"` Date string `dynamodbav:"game_date" json:"date"` Readonly bool `dynamodbav:"readonly" json:"readonly"` ExpiresIn int `dynamodbav:"expires_in" json:"expires_in"` Participants map[string]ParticipantOutput `dynamodbav:"participants" json:"participants"` }
func FetchByDate ¶
func FetchByGameId ¶
type ParticipantOutput ¶
type ParticipantOutput struct { Username string `dynamodbav:"username" json:"username"` Underdog bool `dynamodbav:"underdog" json:"underdog"` Team int `dynamodbav:"team" json:"team"` Placement int `dynamodbav:"placement" json:"placement"` Points int `dynamodbav:"points" json:"points"` Elo int `dynamodbav:"elo" json:"elo"` EloUpdate int `dynamodbav:"elo_update" json:"elo_update"` Confirmed bool `dynamodbav:"confirmed" json:"confirmed"` }
Click to show internal directories.
Click to hide internal directories.