Documentation
¶
Index ¶
Constants ¶
View Source
const DEEP_WEB_RADIO_URL = "http://anonyradixhkgh5myfrkarggfnmdzzhhcgoy2v66uf7sml27to5n2tid.onion"
View Source
const TOR_WIN32_DOWNLOAD_URL = "https://www.torproject.org/dist/torbrowser/11.0.3/tor-win32-0.4.6.9.zip"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RadioClient ¶
type RadioClient struct {
// contains filtered or unexported fields
}
func NewRadioClient ¶
func NewRadioClient() (RadioClient, error)
func (*RadioClient) Close ¶
func (client *RadioClient) Close()
Close should be called when you are done using the client.
func (*RadioClient) LiveStations ¶
func (client *RadioClient) LiveStations() ([]RadioStation, error)
LiveStations is a getter for the client's 'stations' field. If the client already has stations set LiveStations will return these. Otherwise it will extrapolate them from the client's homePage, insert them into the stations field and return them.
func (*RadioClient) Stream ¶
func (client *RadioClient) Stream(station RadioStation) (io.ReadCloser, error)
Stream returns an mp3 encoded audio stream.
type RadioStation ¶
type RadioStation struct { Title string // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.