Safe Haskell | None |
---|---|
Language | Haskell2010 |
- mailScrapeConfig :: ScrapeInfoUrl -> MailFromAddr -> NonEmpty MailToAddr -> ScrapeConfig
- otherScrapeConfig :: ScrapeInfoUrl -> (Text -> IO ()) -> ScrapeConfig
- validateScrapeConfig :: ScrapeConfig -> ScrapeValidation ScrapeConfig
- validateCronSchedule :: CronScheduleString -> ScrapeValidation CronScheduleString
- readLatestHash :: Hashable t => t -> IO (Maybe Hash)
- saveHash :: Hashable t => t -> Hash -> IO ()
- executeCallbackConfig :: ScrapeConfig -> Text -> IO ()
- removeHash :: Hashable t => t -> IO ()
- removeHashes :: IO ()
- hash' :: Hashable t => t -> String
- type ScrapeInfoUrl = String
- type MailFromAddr = MailAddr
- type MailToAddr = MailAddr
- type Hash = String
- loggerName :: String
- httpExceptionHandler :: ScrapeConfig -> HttpException -> IO t
Documentation
mailScrapeConfig :: ScrapeInfoUrl -> MailFromAddr -> NonEmpty MailToAddr -> ScrapeConfig Source #
Helper constructor for ScrapeConfig
containing MailConfig
callback.
otherScrapeConfig :: ScrapeInfoUrl -> (Text -> IO ()) -> ScrapeConfig Source #
Helper constructor for ScrapeConfig
containing OtherConfig
callback.
executeCallbackConfig :: ScrapeConfig -> Text -> IO () Source #
removeHash :: Hashable t => t -> IO () Source #
removeHashes :: IO () Source #
type ScrapeInfoUrl = String Source #
type MailFromAddr = MailAddr Source #
type MailToAddr = MailAddr Source #
loggerName :: String Source #
httpExceptionHandler :: ScrapeConfig -> HttpException -> IO t Source #