exporting

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CategorySubscriptions

type CategorySubscriptions struct {
	feed.Category

	SubscribedFeeds []feed.Feed
}

type Repository

type Repository interface {
	// FeedCategorySubscriptionsGetAll returns all CategorySubscriptions for a given user.
	FeedCategorySubscriptionsGetAll(userUUID string) ([]CategorySubscriptions, error)
}

Repository provides access to user feed subscriptions for exporting.

type Service

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

Service handles feed subscription export operations.

func NewService

func NewService(r Repository) *Service

NewService initializes and returns a new Service.

func (*Service) ExportAsOPMLDocument

func (s *Service) ExportAsOPMLDocument(user user.User) (*opml.Document, error)

ExportAsOPMLDocument exports a given user's feed subscriptions as an OPML document.

Jump to

Keyboard shortcuts

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