Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Morley client initialization.
Synopsis
- data MorleyClientConfig = MorleyClientConfig {
- mccEndpointUrl :: Maybe BaseUrl
- mccTezosClientPath :: FilePath
- mccMbTezosClientDataDir :: Maybe FilePath
- mccVerbosity :: Word
- mccSecretKey :: Maybe SecretKey
- mkLogAction :: MonadIO m => Word -> ClientLogAction m
- mccEndpointUrlL :: Lens' MorleyClientConfig (Maybe BaseUrl)
- mccTezosClientPathL :: Lens' MorleyClientConfig FilePath
- mccMbTezosClientDataDirL :: Lens' MorleyClientConfig (Maybe FilePath)
- mccVerbosityL :: Lens' MorleyClientConfig Word
- mccSecretKeyL :: Lens' MorleyClientConfig (Maybe SecretKey)
Documentation
data MorleyClientConfig Source #
Data necessary for morley client initialization.
MorleyClientConfig | |
|
Instances
Show MorleyClientConfig Source # | |
Defined in Morley.Client.Init showsPrec :: Int -> MorleyClientConfig -> ShowS # show :: MorleyClientConfig -> String # showList :: [MorleyClientConfig] -> ShowS # |
mkLogAction :: MonadIO m => Word -> ClientLogAction m Source #
Make appropriate ClientLogAction
based on verbosity specified by the user.
Lens
mccSecretKeyL :: Lens' MorleyClientConfig (Maybe SecretKey) Source #