modelyesod

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FeedConfig

type FeedConfig struct {
	ID             model.InternalID
	Name           string
	FeedURL        string
	Tags           []string
	AuthorAccount  model.InternalID
	Source         FeedConfigSource
	Status         FeedConfigStatus
	PullInterval   time.Duration
	LatestPullTime time.Time
}

type FeedConfigSource

type FeedConfigSource int
const (
	FeedConfigSourceUnspecified FeedConfigSource = iota
	FeedConfigSourceCommon
)

type FeedConfigStatus

type FeedConfigStatus int
const (
	FeedConfigStatusUnspecified FeedConfigStatus = iota
	FeedConfigStatusActive
	FeedConfigStatusSuspend
)

type FeedItemDigest added in v0.1.3

type FeedItemDigest struct {
	FeedID           model.InternalID
	ItemID           model.InternalID
	AvatarURL        string
	Authors          string
	PublishedParsed  time.Time
	Title            string
	ShortDescription string
	ImageUrls        []string
	PublishPlatform  string
	FeedConfigName   string
	FeedAvatarURL    string
}

type FeedWithConfig

type FeedWithConfig struct {
	FeedConfig *FeedConfig
	Feed       *modelfeed.Feed
}

type GroupFeedItemsBy added in v0.0.9

type GroupFeedItemsBy int
const (
	GroupFeedItemsByUnspecified GroupFeedItemsBy = iota
	GroupFeedItemsByYear
	GroupFeedItemsByMonth
	GroupFeedItemsByDay
)

type ListFeedOrder

type ListFeedOrder int
const (
	ListFeedOrderUnspecified ListFeedOrder = iota
	ListFeedOrderNextPull
)

type PullFeed

type PullFeed struct {
	InternalID model.InternalID
	URL        string
	Source     FeedConfigSource
}

Jump to

Keyboard shortcuts

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