summaryrefslogtreecommitdiff
path: root/internal/rss/config.go
diff options
context:
space:
mode:
authorAlexander NeonXP Kiryukhin <i@neonxp.ru>2024-06-27 02:20:00 +0300
committerAlexander NeonXP Kiryukhin <i@neonxp.ru>2024-06-27 02:20:00 +0300
commit12ef16cbeef97b58a5e660230eaa84ceb80afdbc (patch)
treea4ca8b8a5ed07b8406467f1919e2d76fd44c7952 /internal/rss/config.go
first commit
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"`
+}