Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrBuildIdNotFound = errors.New("could not find build id")
)
Functions ¶
func CheckBuildId ¶
Checks if the build id is still valid
func GetBuildId ¶
Gets the build id for global player of errors.
Types ¶
type GlobalPlayer ¶
type GlobalPlayer interface { GetStations() (models.StationsPageResponse, error) GetCatchup(slug string) (models.CatchupResponse, error) GetCatchupShows(slug, id string) (models.CatchupShowResponse, error) GetLive() (models.LiveResponse, error) }
GlobalPlayer is an interface to some of global players APIs
Click to show internal directories.
Click to hide internal directories.