From 12ef16cbeef97b58a5e660230eaa84ceb80afdbc Mon Sep 17 00:00:00 2001 From: Alexander NeonXP Kiryukhin Date: Thu, 27 Jun 2024 02:20:00 +0300 Subject: first commit --- internal/rss/config.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 internal/rss/config.go (limited to 'internal/rss') 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"` +} -- cgit v1.2.3