Documentation
¶
Index ¶
- type SoccerSim
- func (s SoccerSim) GetSeasonTeams(w http.ResponseWriter, r *http.Request)
- func (s SoccerSim) GetTeamSeason(w http.ResponseWriter, r *http.Request)
- func (s SoccerSim) GetTeams(w http.ResponseWriter, r *http.Request)
- func (s SoccerSim) GetWeeksMatches(w http.ResponseWriter, r *http.Request)
- func (s SoccerSim) ScheduleSeason(w http.ResponseWriter, r *http.Request)
- func (s SoccerSim) SimWeeksMatches(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SoccerSim ¶
type SoccerSim struct { TeamService teams.TeamService MatchService matches.MatchService }
SoccerSim struct
func (SoccerSim) GetSeasonTeams ¶
func (s SoccerSim) GetSeasonTeams(w http.ResponseWriter, r *http.Request)
GetSeasonTeams returns all teams from the database
func (SoccerSim) GetTeamSeason ¶
func (s SoccerSim) GetTeamSeason(w http.ResponseWriter, r *http.Request)
GetTeamSeason returns all teams from the database
func (SoccerSim) GetTeams ¶
func (s SoccerSim) GetTeams(w http.ResponseWriter, r *http.Request)
GetTeams returns all teams from the database
func (SoccerSim) GetWeeksMatches ¶
func (s SoccerSim) GetWeeksMatches(w http.ResponseWriter, r *http.Request)
GetWeeksMatches returns matches for the season/week
Source Files
¶
- index.go
- matches.go
- teams.go
- teamseasons.go
Click to show internal directories.
Click to hide internal directories.