feedops

package
v0.0.0-...-00092a5 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultRssReader

func DefaultRssReader(db *sqlx.DB, mediaStorage server.MediaStorage) *feeder.Feeder

func SubscribeToFeed

func SubscribeToFeed(ctx context.Context, exec boil.ContextExecutor, userID string, rawURL string) error

func UnsubscribeFromFeed

func UnsubscribeFromFeed(ctx context.Context, exec boil.ContextExecutor, userID string, subscriptionID string) error

Types

type RssFeed

type RssFeed struct {
	ID             string
	URL            string
	WebsiteURL     string
	Title          string
	NextFetchAt    *time.Time
	LastFetchedAt  *time.Time
	LastImportedAt *time.Time
	LastError      string
}

func GetRssFeeds

func GetRssFeeds(ctx context.Context, db boil.ContextExecutor, userID string) ([]*RssFeed, error)

type RssFeedItem

type RssFeedItem struct {
	ID          string
	URL         string
	FeedTitle   string
	FeedURL     string
	Title       string
	PublishedAt time.Time
	AddedAt     time.Time
	Summary     string
}

func GetRssFeedItems

func GetRssFeedItems(ctx context.Context, db boil.ContextExecutor, userID string) ([]*RssFeedItem, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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