Documentation
¶
Index ¶
- type Client
- func (c Client) GetPoolVoorspelling(t1 time.Time, t2 time.Time, poolid int, competitie string) ([]VoorspeldeWedstrijd, error)
- func (c Client) GetStand(poolID int, competitie string) []Deelnemer
- func (c Client) GetWedstrijden(t1 time.Time, t2 time.Time, poolid int, competitie string) ([]Wedstrijd, error)
- type Deelnemer
- type Pool
- type VoorspeldeWedstrijd
- type Voorspelling
- type Wedstrijd
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
}
A client that manages communication with Voetbalpoules
func (Client) GetPoolVoorspelling ¶
func (c Client) GetPoolVoorspelling(t1 time.Time, t2 time.Time, poolid int, competitie string) ([]VoorspeldeWedstrijd, error)
GetPoolVoorspelling returns a wedstrijd and all deelnemer predictions for a pool for a competitie within a specified timerange
type VoorspeldeWedstrijd ¶
type VoorspeldeWedstrijd struct { Wedstrijd Wedstrijd DeelnemerVoorspellingen map[Deelnemer]Voorspelling }
A struct containing a Wedstrijd and its DeelnemerVoorspellingen
type Voorspelling ¶
Click to show internal directories.
Click to hide internal directories.