Documentation ¶
Index ¶
- func NewRadioBrowserClient() radioprovider.RadioProvider
- type Client
- func (r *Client) GetCountries() ([]radioprovider.Country, error)
- func (r *Client) GetMostLikedStations(count int) ([]radioprovider.Station, error)
- func (r *Client) GetMostPopularStations(count int) ([]radioprovider.Station, error)
- func (r *Client) GetStationById(stationId string) (radioprovider.Station, error)
- func (r *Client) GetStationsByCountry(countryId string) ([]radioprovider.Station, error)
- func (r *Client) SearchStations(search string) ([]radioprovider.Station, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRadioBrowserClient ¶
func NewRadioBrowserClient() radioprovider.RadioProvider
Types ¶
type Client ¶
type Client struct { }
func (*Client) GetCountries ¶
func (r *Client) GetCountries() ([]radioprovider.Country, error)
func (*Client) GetMostLikedStations ¶
func (r *Client) GetMostLikedStations(count int) ([]radioprovider.Station, error)
func (*Client) GetMostPopularStations ¶
func (r *Client) GetMostPopularStations(count int) ([]radioprovider.Station, error)
func (*Client) GetStationById ¶
func (r *Client) GetStationById(stationId string) (radioprovider.Station, error)
func (*Client) GetStationsByCountry ¶
func (r *Client) GetStationsByCountry(countryId string) ([]radioprovider.Station, error)
func (*Client) SearchStations ¶
func (r *Client) SearchStations(search string) ([]radioprovider.Station, error)
Click to show internal directories.
Click to hide internal directories.