Documentation
¶
Index ¶
Constants ¶
View Source
const ( RADIOT_FLAG string = "radio-t" RADIOT_DOMAIN string = "http://www.radio-t.com" PIRATES_FLAG string = "pirates" PIRATES_DOMAIN string = "http://pirates.radio-t.com" PODCAST_PAGE string = "/categories/podcast/" TIME_FORMAT string = "2006-01-02T15:04:05-07:00" )
View Source
const (
JSON_FILENAME string = "radiot.json"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Episode ¶
type Episode struct {
Title string `json:"title"`
Link string `json:"link,omitempty"`
Time time.Time `json:"time"`
Image string `json:"image,omitempty"`
Download string `json:"download,omitempty"`
Pirates *Pirates `json:"pirates,omitempty"`
Themes []*Theme `json:"themes,omitempty"`
Sponsor *Theme `json:"sponsor,omitempty"`
}
type JsonFile ¶
type JsonFile struct {
// contains filtered or unexported fields
}
func NewJsonFile ¶
func (*JsonFile) GetEpisodeMessage ¶
func (*JsonFile) GetLatestEpisodeId ¶
func (*JsonFile) UpdateJsonFile ¶
Click to show internal directories.
Click to hide internal directories.