mirror of
https://github.com/miniflux/v2.git
synced 2025-08-11 17:51:01 +00:00
Add generic webhook integration
This commit is contained in:
parent
32d33104a4
commit
48f6885f44
39 changed files with 527 additions and 324 deletions
|
@ -39,6 +39,13 @@ type Entry struct {
|
|||
Tags []string `json:"tags"`
|
||||
}
|
||||
|
||||
func NewEntry() *Entry {
|
||||
return &Entry{
|
||||
Enclosures: make(EnclosureList, 0),
|
||||
Tags: make([]string, 0),
|
||||
}
|
||||
}
|
||||
|
||||
// Entries represents a list of entries.
|
||||
type Entries []*Entry
|
||||
|
||||
|
|
|
@ -64,4 +64,7 @@ type Integration struct {
|
|||
ShaarliEnabled bool
|
||||
ShaarliURL string
|
||||
ShaarliAPISecret string
|
||||
WebhookEnabled bool
|
||||
WebhookURL string
|
||||
WebhookSecret string
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue