feedops

package
v0.0.0-...-295e4e5 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: Apache-2.0 Imports: 14 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
	Title       string
	NextFetchAt *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