conferer-0.1.0.4: Configuration management library

Safe HaskellSafe
LanguageHaskell2010

Conferer.Provider.PropertiesFile

Synopsis

Documentation

mkPropertiesFileProvider :: ProviderCreator Source #

ProviderCreator for properties file Provider that read from a config file in config/{env}.properties and parses it as a properties file with some.key=a value lines

mkPropertiesFileProvider' :: Text -> ProviderCreator Source #

ProviderCreator for properties file Provider that only parses a given Text as a properties file

lineToKeyValue :: Text -> Maybe (Key, Text) Source #

Transform a line into a key/value pair (or not)