Copyright | (c) 2019 Lucas David Traverso |
---|---|
License | MPL-2.0 |
Maintainer | Lucas David Traverso <lucas6246@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Source for json config files using Aeson
Synopsis
- fromConfig :: Key -> SourceCreator
- fromFilePath :: FilePath -> IO Source
Documentation
fromConfig :: Key -> SourceCreator Source #
Create a SourceCreator
from a yaml file that we get from the env
with the same logic as JSONSource