package bootstrap import ( "time" "tm/pkg/config" ) // Config defines the scraper application configuration type Config struct { Database config.DatabaseConfig Logging config.LoggingConfig TED ScraperConfig } type ScraperConfig struct { BaseURL string `env:"TED_BASE_URL"` Timeout time.Duration `env:"TED_TIMEOUT"` MaxRetries int `env:"TED_MAX_RETRIES"` RetryDelay time.Duration `env:"TED_RETRY_DELAY"` UserAgent string `env:"TED_USER_AGENT"` MaxConcurrency int `env:"TED_MAX_CONCURRENCY"` DownloadDir string `env:"TED_DOWNLOAD_DIR"` CleanupAfter time.Duration `env:"TED_CLEANUP_AFTER"` ScrapingInterval time.Duration `env:"TED_SCRAPING_INTERVAL"` }