Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Env | |
|
data BitcoindEnv Source #
Instances
FromJSON BitcoindEnv Source # | |
Defined in BtcLsp.Data.Env parseJSON :: Value -> Parser BitcoindEnv # parseJSONList :: Value -> Parser [BitcoindEnv] # | |
Generic BitcoindEnv Source # | |
Defined in BtcLsp.Data.Env type Rep BitcoindEnv :: Type -> Type # from :: BitcoindEnv -> Rep BitcoindEnv x # to :: Rep BitcoindEnv x -> BitcoindEnv # | |
type Rep BitcoindEnv Source # | |
Defined in BtcLsp.Data.Env type Rep BitcoindEnv = D1 ('MetaData "BitcoindEnv" "BtcLsp.Data.Env" "btc-lsp-0.1.0.0-inplace" 'False) (C1 ('MetaCons "BitcoindEnv" 'PrefixI 'True) (S1 ('MetaSel ('Just "bitcoindEnvHost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "bitcoindEnvUsername") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "bitcoindEnvPassword") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) |
withEnv :: forall m a. MonadUnliftIO m => RawConfig -> (Env -> KatipContextT m a) -> m a Source #