Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { RefreshInterval time.Duration InitialDataDirectory string // ErrorOnEmptyList determines whether Watchman should raise an error when a list // becomes empty during refresh or download operations. An empty list could indicate: // - A parsing error in the list processing logic // - A corrupted or invalid downloaded file // - Network or storage issues during file transfer // - Other issues requiring manual investigation // // Setting this to true enables early detection of potential data integrity problems. // Default: false ErrorOnEmptyList bool IncludedLists []search.SourceList // us_ofac, eu_csl, etc... }
type Downloader ¶
func NewDownloader ¶
func NewDownloader(logger log.Logger, conf Config) (Downloader, error)
Click to show internal directories.
Click to hide internal directories.