| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
LndClient.Data.LndEnv
Documentation
Constructors
Instances
newtype LndWalletPassword Source #
Constructors
| LndWalletPassword Text |
Instances
| Eq LndWalletPassword Source # | |
Defined in LndClient.Data.LndEnv Methods (==) :: LndWalletPassword -> LndWalletPassword -> Bool # (/=) :: LndWalletPassword -> LndWalletPassword -> Bool # | |
| IsString LndWalletPassword Source # | |
Defined in LndClient.Data.LndEnv Methods fromString :: String -> LndWalletPassword # | |
| FromJSON LndWalletPassword Source # | |
Defined in LndClient.Data.LndEnv Methods parseJSON :: Value -> Parser LndWalletPassword # parseJSONList :: Value -> Parser [LndWalletPassword] # | |
| PersistField LndWalletPassword Source # | |
Defined in LndClient.Data.LndEnv Methods toPersistValue :: LndWalletPassword -> PersistValue fromPersistValue :: PersistValue -> Either Text LndWalletPassword | |
| PersistFieldSql LndWalletPassword Source # | |
Defined in LndClient.Data.LndEnv Methods sqlType :: Proxy LndWalletPassword -> SqlType | |
| ToGrpc LndWalletPassword ByteString Source # | |
Defined in LndClient.Data.LndEnv Methods toGrpc :: LndWalletPassword -> Either LndError ByteString Source # | |
data LndTlsCert Source #
Instances
| Eq LndTlsCert Source # | |
Defined in LndClient.Data.LndEnv | |
| FromJSON LndTlsCert Source # | |
Defined in LndClient.Data.LndEnv | |
| PersistField LndTlsCert Source # | |
Defined in LndClient.Data.LndEnv Methods toPersistValue :: LndTlsCert -> PersistValue fromPersistValue :: PersistValue -> Either Text LndTlsCert | |
| PersistFieldSql LndTlsCert Source # | |
Defined in LndClient.Data.LndEnv Methods sqlType :: Proxy LndTlsCert -> SqlType | |
newtype LndHexMacaroon Source #
Constructors
| LndHexMacaroon Text |
Instances
| Eq LndHexMacaroon Source # | |
Defined in LndClient.Data.LndEnv Methods (==) :: LndHexMacaroon -> LndHexMacaroon -> Bool # (/=) :: LndHexMacaroon -> LndHexMacaroon -> Bool # | |
| IsString LndHexMacaroon Source # | |
Defined in LndClient.Data.LndEnv Methods fromString :: String -> LndHexMacaroon # | |
| FromJSON LndHexMacaroon Source # | |
Defined in LndClient.Data.LndEnv Methods parseJSON :: Value -> Parser LndHexMacaroon # parseJSONList :: Value -> Parser [LndHexMacaroon] # | |
| PersistField LndHexMacaroon Source # | |
Defined in LndClient.Data.LndEnv Methods toPersistValue :: LndHexMacaroon -> PersistValue fromPersistValue :: PersistValue -> Either Text LndHexMacaroon | |
| PersistFieldSql LndHexMacaroon Source # | |
Defined in LndClient.Data.LndEnv Methods sqlType :: Proxy LndHexMacaroon -> SqlType | |
Instances
| Eq LndHost Source # | |
| IsString LndHost Source # | |
Defined in LndClient.Data.LndEnv Methods fromString :: String -> LndHost # | |
| FromJSON LndHost Source # | |
Defined in LndClient.Data.LndEnv | |
| PersistField LndHost Source # | |
Defined in LndClient.Data.LndEnv Methods toPersistValue :: LndHost -> PersistValue fromPersistValue :: PersistValue -> Either Text LndHost | |
| PersistFieldSql LndHost Source # | |
Defined in LndClient.Data.LndEnv | |
Instances
| Eq LndPort Source # | |
| FromJSON LndPort Source # | |
Defined in LndClient.Data.LndEnv | |
| PersistField LndPort Source # | |
Defined in LndClient.Data.LndEnv Methods toPersistValue :: LndPort -> PersistValue fromPersistValue :: PersistValue -> Either Text LndPort | |
| PersistFieldSql LndPort Source # | |
Defined in LndClient.Data.LndEnv | |
Constructors
| LndConfig | |
Fields
| |
newLndEnv :: LndWalletPassword -> LndTlsCert -> LndHexMacaroon -> LndHost -> LndPort -> Maybe CipherSeedMnemonic -> Maybe AezeedPassphrase -> LndEnv Source #
readLndEnv :: IO LndEnv Source #
unLndTlsCert :: LndTlsCert -> ByteString Source #
katipAddLndContext :: KatipContext m => LndEnv -> m a -> m a Source #