modelyesod

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 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
	Category         string
	AuthorAccount    model.InternalID
	Source           string
	Status           FeedConfigStatus
	PullInterval     time.Duration
	LatestUpdateTime time.Time
	HideItems        bool
}

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
	PublishedParsedTime time.Time
	Title               string
	ShortDescription    string
	ImageUrls           []string
	PublishPlatform     string
	FeedConfigName      string
	FeedAvatarURL       string
	ReadCount           int64
}

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
	GroupFeedItemsByOverall
)

type ListFeedOrder

type ListFeedOrder int
const (
	ListFeedOrderUnspecified ListFeedOrder = iota
	ListFeedOrderNextPull
)

type PullFeed

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

Jump to

Keyboard shortcuts

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