Documentation ¶
Index ¶
- type Subscription
- type SubscriptionFinder
- func (f *SubscriptionFinder) FeedResponseInfo() *model.FeedCreationRequestFromSubscriptionDiscovery
- func (f *SubscriptionFinder) FindSubscriptions(websiteURL, rssBridgeURL string) (Subscriptions, *locale.LocalizedErrorWrapper)
- func (f *SubscriptionFinder) FindSubscriptionsFromRSSBridge(websiteURL, rssBridgeURL string) (Subscriptions, *locale.LocalizedErrorWrapper)
- func (f *SubscriptionFinder) FindSubscriptionsFromWebPage(websiteURL, contentType string, body io.Reader) (Subscriptions, *locale.LocalizedErrorWrapper)
- func (f *SubscriptionFinder) FindSubscriptionsFromWellKnownURLs(websiteURL string) (Subscriptions, *locale.LocalizedErrorWrapper)
- func (f *SubscriptionFinder) FindSubscriptionsFromYouTubeChannelPage(websiteURL string) (Subscriptions, *locale.LocalizedErrorWrapper)
- func (f *SubscriptionFinder) FindSubscriptionsFromYouTubeVideoPage(websiteURL string) (Subscriptions, *locale.LocalizedErrorWrapper)
- func (f *SubscriptionFinder) IsFeedAlreadyDownloaded() bool
- type Subscriptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Subscription ¶
type Subscription struct { Title string `json:"title"` URL string `json:"url"` Type string `json:"type"` }
Subscription represents a feed subscription.
func NewSubscription ¶ added in v2.0.51
func NewSubscription(title, url, kind string) *Subscription
func (Subscription) String ¶
func (s Subscription) String() string
type SubscriptionFinder ¶ added in v2.0.51
type SubscriptionFinder struct {
// contains filtered or unexported fields
}
func NewSubscriptionFinder ¶ added in v2.0.51
func NewSubscriptionFinder(requestBuilder *fetcher.RequestBuilder) *SubscriptionFinder
func (*SubscriptionFinder) FeedResponseInfo ¶ added in v2.0.51
func (f *SubscriptionFinder) FeedResponseInfo() *model.FeedCreationRequestFromSubscriptionDiscovery
func (*SubscriptionFinder) FindSubscriptions ¶ added in v2.0.51
func (f *SubscriptionFinder) FindSubscriptions(websiteURL, rssBridgeURL string) (Subscriptions, *locale.LocalizedErrorWrapper)
func (*SubscriptionFinder) FindSubscriptionsFromRSSBridge ¶ added in v2.0.51
func (f *SubscriptionFinder) FindSubscriptionsFromRSSBridge(websiteURL, rssBridgeURL string) (Subscriptions, *locale.LocalizedErrorWrapper)
func (*SubscriptionFinder) FindSubscriptionsFromWebPage ¶ added in v2.0.51
func (f *SubscriptionFinder) FindSubscriptionsFromWebPage(websiteURL, contentType string, body io.Reader) (Subscriptions, *locale.LocalizedErrorWrapper)
func (*SubscriptionFinder) FindSubscriptionsFromWellKnownURLs ¶ added in v2.0.51
func (f *SubscriptionFinder) FindSubscriptionsFromWellKnownURLs(websiteURL string) (Subscriptions, *locale.LocalizedErrorWrapper)
func (*SubscriptionFinder) FindSubscriptionsFromYouTubeChannelPage ¶ added in v2.0.51
func (f *SubscriptionFinder) FindSubscriptionsFromYouTubeChannelPage(websiteURL string) (Subscriptions, *locale.LocalizedErrorWrapper)
func (*SubscriptionFinder) FindSubscriptionsFromYouTubeVideoPage ¶ added in v2.0.51
func (f *SubscriptionFinder) FindSubscriptionsFromYouTubeVideoPage(websiteURL string) (Subscriptions, *locale.LocalizedErrorWrapper)
func (*SubscriptionFinder) IsFeedAlreadyDownloaded ¶ added in v2.0.51
func (f *SubscriptionFinder) IsFeedAlreadyDownloaded() bool
type Subscriptions ¶
type Subscriptions []*Subscription
Subscriptions represents a list of subscription.
Click to show internal directories.
Click to hide internal directories.