source

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RSSSource

type RSSSource struct {
	URL        string
	SourceID   int64
	SourceName string
}

func NewRSSSourceForModel

func NewRSSSourceForModel(m *models.Source) RSSSource

func (RSSSource) Fetch

func (r RSSSource) Fetch(ctx context.Context) ([]models.Item, error)

func (RSSSource) ID

func (r RSSSource) ID() int64

func (RSSSource) Name

func (r RSSSource) Name() string

Jump to

Keyboard shortcuts

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