Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdditionalLogContextHandler ¶
This injects additional context into the grohl context
Types ¶
type Config ¶
type Config struct { BaseURL string Title string Description string Link string Language string Copyright string Author string Subtitle string Summary string Owner struct { Name string Email string } Image string Categories []string Explicit bool }
func ReadConfig ¶
type DownloadService ¶
type DownloadService struct {
// contains filtered or unexported fields
}
func NewDownloadService ¶
func NewDownloadService(storageDir string) DownloadService
func (DownloadService) Shutdown ¶
func (ds DownloadService) Shutdown(ctx context.Context)
Shutdown closes the database connection.
type FeedHandler ¶
type FeedHandler struct {
// contains filtered or unexported fields
}
func (*FeedHandler) ReadPodcastEpisodes ¶
func (h *FeedHandler) ReadPodcastEpisodes(conf Config) ([]*podcasts.Item, error)
func (*FeedHandler) ServeHTTP ¶
func (h *FeedHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.