Copyright | 2019 Daniel YU |
---|---|
License | BSD3 |
Maintainer | leptonyu@gmail.com |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
This module defines simple application plugin.
Synopsis
- data Simple = Simple {}
- class HasSimple cxt where
- pluginSimple :: (MonadCatch m, MonadIO m) => Text -> Plugin () m Simple
Documentation
Simple plugin initialized both configurations pluginSalak
and logger pluginLogger
.
Simple | |
|
class HasSimple cxt where Source #
Environment values with a configuration parser and logging function.
:: (MonadCatch m, MonadIO m) | |
=> Text | Application name and configuration file name. |
-> Plugin () m Simple |
Simple plugin provides a configuration parser and logging function.