brok-0.1.5.0: src/Brok/Types/Config.hs
{-# LANGUAGE NoImplicitPrelude #-}
module Brok.Types.Config where
import ClassyPrelude
import Brok.Types.Link (URL)
data Config = Config
{ cache :: Maybe Integer
, ignore :: [URL]
, interval :: Integer
, files :: [Text]
} deriving (Show, Eq)
defaultConfig :: Config
defaultConfig = Config {cache = Just 84600, ignore = [], interval = 100, files = []}