| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
BtcLsp.Grpc.Client.LowLevel
Documentation
runUnary :: (Out res, Show res, HasMethod s m, req ~ MethodInput s m, res ~ MethodOutput s m) => RPC s (m :: Symbol) -> GCEnv -> (res -> ByteString -> CompressMode -> IO Bool) -> req -> IO (Either Text res) Source #
Constructors
| GCEnv | |
Fields | |
Instances
| FromJSON GCEnv Source # | |
| Generic GCEnv Source # | |
| type Rep GCEnv Source # | |
Defined in BtcLsp.Grpc.Client.LowLevel type Rep GCEnv = D1 ('MetaData "GCEnv" "BtcLsp.Grpc.Client.LowLevel" "btc-lsp-0.1.0.0-inplace" 'False) (C1 ('MetaCons "GCEnv" 'PrefixI 'True) ((S1 ('MetaSel ('Just "gcEnvHost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 String) :*: (S1 ('MetaSel ('Just "gcEnvPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GCPort) :*: S1 ('MetaSel ('Just "gcEnvEncryption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Encryption)))) :*: (S1 ('MetaSel ('Just "gcEnvSigHeaderName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SigHeaderName) :*: (S1 ('MetaSel ('Just "gcEnvCompressMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CompressMode) :*: S1 ('MetaSel ('Just "gcEnvSigner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (MsgToSign -> IO (Maybe LndSig))))))) | |
Constructors
| GCPort PortNumber |
Instances
| FromJSON GCPort Source # | |
| Enum GCPort Source # | |
Defined in BtcLsp.Grpc.Client.LowLevel | |
| Num GCPort Source # | |
| Read GCPort Source # | |
| Integral GCPort Source # | |
Defined in BtcLsp.Grpc.Client.LowLevel | |
| Real GCPort Source # | |
Defined in BtcLsp.Grpc.Client.LowLevel Methods toRational :: GCPort -> Rational # | |
| Show GCPort Source # | |
| Eq GCPort Source # | |
| Ord GCPort Source # | |