| Copyright | (c) 2019 Lucas David Traverso |
|---|---|
| License | MPL-2.0 |
| Maintainer | Lucas David Traverso <lucas6246@gmail.com> |
| Stability | unstable |
| Portability | portable |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Conferer.Source.Internal
Description
Internal module for Key related features
Documentation
class IsSource s where Source #
Main interface for interacting with external systems that provide configuration
which will be used by FromConfig to fetch values.
Methods
getKeyInSource :: s -> Key -> IO (Maybe Text) Source #
getSubkeysInSource :: s -> Key -> IO [Key] Source #
This function is used by the Config to list possible values
from the Source that if the user getKeyInSource, it will be found.