Documentation ¶
Index ¶
- func GetDescriptionGeneratorActionConfigSchema() (string, error)
- func GetKeywordFilterActionConfigSchema() (string, error)
- func GetSimpleKeywordFilterActionConfigSchema() (string, error)
- type DescriptionGeneratorActionConfig
- type FeedActionSet
- type FeedConfig
- type FeedConfigPullStatus
- type FeedConfigStatus
- type FeedItemCollection
- type FeedItemDigest
- type FeedWithConfig
- type GroupFeedItemsBy
- type KeywordFilter
- type KeywordFilterActionConfig
- type KeywordFilterAndList
- type KeywordFilterEquation
- type KeywordFilterField
- type ListFeedOrder
- type PullFeed
- type SimpleKeywordFilterActionConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDescriptionGeneratorActionConfigSchema ¶ added in v0.2.10
func GetKeywordFilterActionConfigSchema ¶ added in v0.2.10
func GetSimpleKeywordFilterActionConfigSchema ¶ added in v0.2.10
Types ¶
type DescriptionGeneratorActionConfig ¶ added in v0.2.10
type DescriptionGeneratorActionConfig struct{}
type FeedActionSet ¶ added in v0.2.10
type FeedActionSet struct { ID model.InternalID Name string Description string Actions []*modeltiphereth.FeatureRequest }
type FeedConfig ¶
type FeedConfig struct { ID model.InternalID Name string FeedURL string Category string AuthorAccount model.InternalID Source string Status FeedConfigStatus PullInterval time.Duration LatestPullTime time.Time LatestPullStatus FeedConfigPullStatus LatestPullMessage string HideItems bool ActionSets []model.InternalID }
type FeedConfigPullStatus ¶ added in v0.2.10
type FeedConfigPullStatus int
const ( FeedConfigPullStatusUnspecified FeedConfigPullStatus = iota FeedConfigPullStatusProcessing FeedConfigPullStatusSuccess FeedConfigPullStatusFailed )
type FeedConfigStatus ¶
type FeedConfigStatus int
const ( FeedConfigStatusUnspecified FeedConfigStatus = iota FeedConfigStatusActive FeedConfigStatusSuspend )
type FeedItemCollection ¶ added in v0.2.10
type FeedItemCollection struct { ID model.InternalID Name string Description string Category string }
type FeedItemDigest ¶ added in v0.1.3
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 KeywordFilter ¶ added in v0.2.10
type KeywordFilterActionConfig ¶ added in v0.2.10
type KeywordFilterActionConfig struct {
OrList []*KeywordFilterAndList `json:"or_list" jsonschema:"title=OR list"`
}
type KeywordFilterAndList ¶ added in v0.2.10
type KeywordFilterAndList struct {
AndList []*KeywordFilter `json:"and_list" jsonschema:"title=AND list"`
}
type KeywordFilterEquation ¶ added in v0.2.10
type KeywordFilterEquation string
const ( KeywordFilterEquationEqual KeywordFilterEquation = "equal" KeywordFilterEquationNotEqual KeywordFilterEquation = "not_equal" KeywordFilterEquationContain KeywordFilterEquation = "contain" KeywordFilterEquationNotContain KeywordFilterEquation = "not_contain" KeywordFilterEquationStartWith KeywordFilterEquation = "start_with" KeywordFilterEquationNotStartWith KeywordFilterEquation = "not_start_with" KeywordFilterEquationEndWith KeywordFilterEquation = "end_with" KeywordFilterEquationNotEndWith KeywordFilterEquation = "not_end_with" )
type KeywordFilterField ¶ added in v0.2.10
type KeywordFilterField string
const ( KeywordFilterFieldAuthor KeywordFilterField = "author" KeywordFilterFieldTitle KeywordFilterField = "title" KeywordFilterFieldDescription KeywordFilterField = "description" KeywordFilterFieldContent KeywordFilterField = "content" )
type ListFeedOrder ¶
type ListFeedOrder int
const ( ListFeedOrderUnspecified ListFeedOrder = iota ListFeedOrderNextPull )
type PullFeed ¶
type PullFeed struct { InternalID model.InternalID URL string Source string SystemNotify *modelnetzach.SystemNotify }
type SimpleKeywordFilterActionConfig ¶ added in v0.2.10
type SimpleKeywordFilterActionConfig struct { TitleInclude []string `json:"title_include,omitempty" jsonschema:"title=Title include"` TitleExclude []string `json:"title_exclude,omitempty" jsonschema:"title=Title exclude"` ContentInclude []string `json:"content_include,omitempty" jsonschema:"title=Content include"` ContentExclude []string `json:"content_exclude,omitempty" jsonschema:"title=Content exclude"` }
Click to show internal directories.
Click to hide internal directories.