tba

package
v0.0.0-...-cb2c959 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotModified = fmt.Errorf("tba data not modified")

ErrNotModified is returned if the tba data has not been modified since last retrieved.

Functions

This section is empty.

Types

type Consumer

type Consumer interface {
	GetEvents(year int) ([]event.BasicEvent, error)
	GetMatches(eventKey string) ([]match.Match, error)
	GetPhotoURL(team string, year int) (url string, err error)
}

Consumer provides an interface for getting information from TBA api.

Directories

Path Synopsis
api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL