aboutsummaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pkg/config/config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/config/config.go b/pkg/config/config.go
index 231ce9e..32f4a71 100644
--- a/pkg/config/config.go
+++ b/pkg/config/config.go
@@ -17,6 +17,7 @@ type Map map[string]interface{}
// GlobalOptions are not feed specific
type GlobalOptions struct {
+ Cache string `yaml:"cache"`
Timeout int `yaml:"timeout"`
DefaultEmail string `yaml:"default-email"`
Target Url `yaml:"target"`
@@ -26,6 +27,7 @@ type GlobalOptions struct {
}
var DefaultGlobalOptions = GlobalOptions{
+ Cache: "feed.cache",
Timeout: 30,
MaxFailures: 10,
DefaultEmail: username() + "@" + Hostname(),