conferer-0.1.0.0: Configuration management library
Conferer.Types
data Provider Source #
Constructors
Fields
newtype Key Source #
Defined in Conferer.Types
Methods
(==) :: Key -> Key -> Bool #
(/=) :: Key -> Key -> Bool #
compare :: Key -> Key -> Ordering #
(<) :: Key -> Key -> Bool #
(<=) :: Key -> Key -> Bool #
(>) :: Key -> Key -> Bool #
(>=) :: Key -> Key -> Bool #
max :: Key -> Key -> Key #
min :: Key -> Key -> Key #
showsPrec :: Int -> Key -> ShowS #
show :: Key -> String #
showList :: [Key] -> ShowS #
fromString :: String -> Key #
keyName :: Key -> Text Source #
data Config Source #
type ProviderCreator = Config -> IO Provider Source #
class FetchFromConfig a where Source #
fetch :: Key -> Config -> IO (Either Text a) Source #
Defined in Conferer.FetchFromConfig.Basics
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 #
type Prefix = Text Source #