Documentation ¶
Index ¶
- type BaseTeam
- type Client
- func (client *Client) GetMatches() ([]*Match, error)
- func (client *Client) GetMatchesBetween(minStartTime time.Time, maxStartTime time.Time) ([]*Match, error)
- func (client *Client) GetMatchesUntil(maxStartTime time.Time) ([]*Match, error)
- func (client *Client) GetStreamURL(liquipediaUrl string) (string, error)
- func (client *Client) GetTournaments() ([]*Tournament, error)
- type Match
- type MatchStatus
- type Response
- type Tournament
- type TournamentStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetMatches ¶
func (*Client) GetMatchesBetween ¶
func (*Client) GetMatchesUntil ¶
func (*Client) GetStreamURL ¶
func (*Client) GetTournaments ¶
func (client *Client) GetTournaments() ([]*Tournament, error)
type MatchStatus ¶
type MatchStatus uint8
const ( MatchStatusUpcoming MatchStatus = 0 MatchStatusOngoing MatchStatus = 1 )
type Response ¶
type Response struct { Root struct { Text struct { Document string `json:"*"` } `json:"text"` } `json:"parse"` }
type Tournament ¶
type TournamentStatus ¶
type TournamentStatus int8
const ( TournamentStatusUpcoming TournamentStatus = 0 TournamentStatusOngoing TournamentStatus = 1 TournamentStatusComplete TournamentStatus = 2 )
Click to show internal directories.
Click to hide internal directories.