Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewUseCase, NewHttpClient)
Functions ¶
func NewHttpClient ¶ added in v0.1.19
func NewHttpClient() resty.HttpClient
Types ¶
type UseCase ¶
type UseCase interface { GetStations(context.Context) ([]*models.Station, error) GetStation(context.Context, string) (*models.Station, error) GetShows(context.Context, string) ([]*models.Show, error) GetShow(context.Context, string, string) (*models.Show, error) GetEpisodes(context.Context, string, string) ([]*models.Episode, error) GetEpisodesFeed(context.Context, string, string) (*feeds.Feed, error) GetAllShowsFeed(context.Context, string) (*feeds.Feed, error) }
func NewUseCase ¶
func NewUseCase(gp globalplayer.GlobalPlayer, hc resty.HttpClient) UseCase
Click to show internal directories.
Click to hide internal directories.