Crate clightningrpc[−][src]
Crate that provides an RPC binding from rust code to the c-lightning daemon
This create provides both a high and a low-level interface.
Most likely, you'll want to use the high-level interface through LightningRPC
, as this is
most convenient,
but it is also possible to construct Request and Response objects manually and
send them through the pipe.
Re-exports
pub use error::Error; |
pub use lightningrpc::LightningRPC; |
Modules
client |
Client support |
common |
Common structures between requests and responses |
error |
Error handling |
lightningrpc |
High-level interface to c-lightning RPC |
requests |
Structures representing requests to API calls |
responses |
Structures representing responses to API calls |
Structs
Request |
A JSONRPC request object |
Response |
A JSONRPC response object |