feed_fetcher

package
v0.0.0-...-1506d98 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Feed

type Feed struct {
	// contains filtered or unexported fields
}

func New

func New(parsedFeed *gofeed.Feed, httpClient *http.Client, feedURL string) Feed

func (Feed) Entries

func (f Feed) Entries(_ context.Context) []repository.Entry

func (Feed) Feed

func (f Feed) Feed(ctx context.Context) repository.Feed

type FeedFetcher

type FeedFetcher struct {
	// contains filtered or unexported fields
}

func NewFeedParser

func NewFeedParser(parser *gofeed.Parser, httpClient *http.Client) *FeedFetcher

func (FeedFetcher) Fetch

func (f FeedFetcher) Fetch(ctx context.Context, url string) (Feed, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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