clplug-0.1.0.0: Create Core Lightning Plugins
Safe HaskellSafe-Inferred
LanguageHaskell2010

Control.Client

Synopsis

Documentation

lightningCli :: Handle -> PartialCommand -> IO (Maybe (Res Value)) Source #

Function to interface with lightning-rpc commands. First argument is a Handle to rpcfile from the readerT, second is a Command withholding Id which will automatically increment.

data Command Source #

Constructors

Command 

Fields

Instances

Instances details
ToJSON Command Source # 
Instance details

Defined in Control.Client

Show Command Source # 
Instance details

Defined in Control.Client