conferer-0.1.0.0: Configuration management library
Conferer.FetchFromConfig.Basics
Contents
fetchFromConfigByRead :: Read a => Key -> Config -> IO (Either Text a) Source #
fromValueWith :: (Text -> Maybe a) -> Key -> Text -> Either Text a Source #
fetchFromConfigWith :: (Text -> Maybe a) -> Key -> Config -> IO (Either Text a) Source #
Methods
fetch :: Key -> Config -> IO (Either Text Bool) Source #
fetch :: Key -> Config -> IO (Either Text Float) Source #
fetch :: Key -> Config -> IO (Either Text Int) Source #
fetch :: Key -> Config -> IO (Either Text String) Source #
fetch :: Key -> Config -> IO (Either Text ByteString) Source #
fetch :: Key -> Config -> IO (Either Text Text) Source #