Documentation
¶
Index ¶
- type FileInfos
- type Index
- type Indexes
- type PodcastPref
- func (pref *PodcastPref) UpdatePodcast(ct *minio.Client) (err error)
- func (pref *PodcastPref) UpdateRSS(infos FileInfos, ct *minio.Client)
- func (pref *PodcastPref) UpdateWeb(infos FileInfos, ct *minio.Client)
- func (pref *PodcastPref) UpdatedInfos(ct *minio.Client) (updatedInfos FileInfos, err error)
- type RSS
- type Web
- type WebItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PodcastPref ¶
type PodcastPref struct { Title string Subtitle string Author string Email string Description string Link string Bucket string Folder string Serial int Active bool SavePlayState bool }
PodcastPref は、設定ファイルから読み込んだ各Podcastの情報を格納する
func Initialize ¶
func Initialize() (casts []*PodcastPref, ct *minio.Client, err error)
Initialize は、設定ファイルを読み込んで初期化する
func (*PodcastPref) UpdatePodcast ¶
func (pref *PodcastPref) UpdatePodcast(ct *minio.Client) (err error)
UpdatePodcast はフォルダに入っている音声ファイルに応じてポッドキャストを更新する
func (*PodcastPref) UpdateRSS ¶
func (pref *PodcastPref) UpdateRSS(infos FileInfos, ct *minio.Client)
UpdateRSS は、フィードを作成あるいは更新する
func (*PodcastPref) UpdateWeb ¶
func (pref *PodcastPref) UpdateWeb(infos FileInfos, ct *minio.Client)
UpdateWeb は、index.htmlを作成あるいは更新する
func (*PodcastPref) UpdatedInfos ¶
func (pref *PodcastPref) UpdatedInfos(ct *minio.Client) (updatedInfos FileInfos, err error)
UpdatedInfos は、更新が必要なアイテムを返す
Source Files
¶
Click to show internal directories.
Click to hide internal directories.