summaryrefslogtreecommitdiff
path: root/internal/rss/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rss/config.go')
-rw-r--r--internal/rss/config.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/internal/rss/config.go b/internal/rss/config.go
new file mode 100644
index 0000000..e1fd34c
--- /dev/null
+++ b/internal/rss/config.go
@@ -0,0 +1,9 @@
+package rss
+
+import "time"
+
+type Config struct {
+ URL string `env:"RSS_URL"`
+ CheckInterval time.Duration `env:"CHECK_INTERVAL"`
+ SeqFile string `env:"SEQ_FILE"`
+}