summaryrefslogtreecommitdiff
path: root/pkg/config/feed.go
blob: 9a88fc90de06c17f6d54ee7219b07d8b211ae6fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package config

// One stored feed
type Feed struct {
	Name    string
	Target  []string `yaml:"-"`
	Url     string
	Options `yaml:"-"` // not parsed directly
}

// Convenience type for all feeds
type Feeds map[string]*Feed