subscription

package
v2.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

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 (*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.

Jump to

Keyboard shortcuts

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