| 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 |
Conferer.Source.Yaml
Description
Source for json config files using Aeson
Synopsis
- fromConfig :: Key -> SourceCreator
- fromFilePath :: FilePath -> 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
fromFilePath :: FilePath -> SourceCreator Source #
Create a SourceCreator by reading the provided path as json