Documentation
¶
Index ¶
- type ErrNotModified
- type Service
- func (s *Service) GetEvents(ctx context.Context, year int, schemaID *int64) ([]store.Event, error)
- func (s *Service) GetMatches(ctx context.Context, eventKey string) ([]store.Match, error)
- func (s *Service) GetTeamKeys(ctx context.Context, eventKey string) ([]string, error)
- func (s *Service) GetTeamRankings(ctx context.Context, eventKey string) ([]store.Team, error)
- func (s *Service) Ping(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrNotModified ¶
type ErrNotModified struct {
// contains filtered or unexported fields
}
ErrNotModified is returned when a resource has not been modified since it was last retrieved from TBA.
type Service ¶
Service provides methods for retrieving data from The Blue Alliance API
func (*Service) GetMatches ¶
GetMatches retrieves all matches from a specific event.
func (*Service) GetTeamKeys ¶
GetTeamKeys retrieves all team keys from a specific event
func (*Service) GetTeamRankings ¶
GetTeamRankings retrieves all team rankings from a specific event.
Click to show internal directories.
Click to hide internal directories.