discover

package
v0.0.0-...-b325b5c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup() error

Types

type Podcast

type Podcast struct {
	ID                    int64  `json:"id"`
	Url                   string `json:"url"`
	Title                 string `json:"title"`
	Description           string `json:"description"`
	Link                  string `json:"link"`
	Author                string `json:"author"`
	ImageUrl              string `json:"image"`
	ArtworkUrl            string `json:"artwork"`
	NewestItemPublishTime int64  `json:"newestItemPublishTime"`
}

func FetchPodcast

func FetchPodcast(id int64) (*Podcast, error)

func FetchTrending

func FetchTrending() ([]Podcast, error)

type PodcastListResult

type PodcastListResult struct {
	Status string    `json:"status"`
	Feeds  []Podcast `json:"feeds"`
}

type PodcastResult

type PodcastResult struct {
	Status string  `json:"status"`
	Feed   Podcast `json:"feed"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL