package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Apr 13, 2023
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Feeds []Feed `yaml:"feeds"`
}
type Feed struct {
Name string `yaml:"name"`
URL string `yaml:"url"`
Enabled bool `yaml:"enabled"`
OutputDir string `yaml:"output"`
Template string `yaml:"template"`
Rules []Rule `yaml:"rules"`
Exclude []Rule `yaml:"exclude"`
}
type FeedState struct {
FetchedAt time.Time `json:"timestamp"`
}
type Rule struct {
Type string `yaml:"type"`
Value string `yaml:"value"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.