Documentation
¶
Index ¶
Constants ¶
View Source
const ( ID = "miniflux" EndpointKey = "endpoint" ApikeyKey = "api_key" )
View Source
const ( NewEntriesEventType = "new_entries" SaveEntryEventType = "save_entry" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Miniflux ¶
type Miniflux struct {
// contains filtered or unexported fields
}
func NewMiniflux ¶
func (*Miniflux) GetEntries ¶
func (*Miniflux) MarkAllAsRead ¶ added in v0.26.1
type WebhookCategory ¶
type WebhookEntry ¶
type WebhookEntry struct {
ID int64 `json:"id"`
UserID int64 `json:"user_id"`
FeedID int64 `json:"feed_id"`
Status string `json:"status"`
Hash string `json:"hash"`
Title string `json:"title"`
URL string `json:"url"`
CommentsURL string `json:"comments_url"`
Date time.Time `json:"published_at"`
CreatedAt time.Time `json:"created_at"`
ChangedAt time.Time `json:"changed_at"`
Content string `json:"content"`
Author string `json:"author"`
Starred bool `json:"starred"`
ReadingTime int `json:"reading_time"`
Tags []string `json:"tags"`
Feed *WebhookFeed `json:"feed,omitempty"`
}
type WebhookEvent ¶
type WebhookEvent struct {
EventType string `json:"event_type"`
Feed *WebhookFeed `json:"feed"`
Entries []*WebhookEntry `json:"entries"`
Entry *WebhookEntry `json:"entry"`
}
type WebhookFeed ¶
type WebhookFeed struct {
ID int64 `json:"id"`
UserID int64 `json:"user_id"`
CategoryID int64 `json:"category_id"`
Category *WebhookCategory `json:"category,omitempty"`
FeedURL string `json:"feed_url"`
SiteURL string `json:"site_url"`
Title string `json:"title"`
CheckedAt time.Time `json:"checked_at"`
}
Click to show internal directories.
Click to hide internal directories.