mackerel-client-0.1.0: An API client library for Mackerel
Web.Mackerel.Config
data Config Source #
Constructors
Fields
Instances
Methods
(==) :: Config -> Config -> Bool #
(/=) :: Config -> Config -> Bool #
showsPrec :: Int -> Config -> ShowS #
show :: Config -> String #
showList :: [Config] -> ShowS #
parseJSON :: Value -> Parser Config #
parseJSONList :: Value -> Parser [Config] #
def :: Config #
data HostStatusConfig Source #
(==) :: HostStatusConfig -> HostStatusConfig -> Bool #
(/=) :: HostStatusConfig -> HostStatusConfig -> Bool #
showsPrec :: Int -> HostStatusConfig -> ShowS #
show :: HostStatusConfig -> String #
showList :: [HostStatusConfig] -> ShowS #
parseJSON :: Value -> Parser HostStatusConfig #
parseJSONList :: Value -> Parser [HostStatusConfig] #
def :: HostStatusConfig #
loadConfig :: IO (Either String Config) Source #
parseConfig :: Text -> Either String Config Source #
loadClient :: IO (Either String Client) Source #
mackerelRoot :: IO FilePath Source #
confFile :: IO FilePath Source #
pidFile :: IO FilePath Source #