Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Player ¶
type Player struct { ID string `json:"_id"` PID string `json:"persistentPlayerID"` IGN string `json:"inGameName"` User struct { Name string `json:"username"` Accts struct { Bnet struct { Btag string `json:"battletag"` } `'json:"battlenet"` } `json:"accounts"` } `json:"user"` // contains filtered or unexported fields }
Player stores the Battlefy information about a player.
type Team ¶
type Team struct { Players []Player `json:"players"` PersistentTeamID string `json:"persistentTeamID"` PersistentTeam struct { Name string `json:"name"` Logo string `json:"logoUrl"` PersistentPlayerIDs []string `json:"persistentPlayerIDs"` PersistentCaptainID string `json:"persistentCaptainID"` } `json:"persistentTeam"` // contains filtered or unexported fields }
Team stores a bunch of team metadata.
Click to show internal directories.
Click to hide internal directories.