gl-client 0.4.0

Client library for Greenlight, and basis for language bindings.
Documentation
// This file was generated by `gengrpc` from the CLN JSON-Schema.
// Do not edit this file.
//

pub mod cln;
pub mod greenlight;

/// Variants prefixed with `Gl` are deprecated and will eventually be removed.
#[derive(Clone, Debug)]
pub enum Request {
    GlConfig(greenlight::GlConfig),
    LspInvoice(greenlight::LspInvoiceRequest),
    Getinfo(cln::GetinfoRequest),
    ListPeers(cln::ListpeersRequest),
    ListFunds(cln::ListfundsRequest),
    SendPay(cln::SendpayRequest),
    ListChannels(cln::ListchannelsRequest),
    AddGossip(cln::AddgossipRequest),
    AutoCleanOnce(cln::AutocleanonceRequest),
    CheckMessage(cln::CheckmessageRequest),
    Close(cln::CloseRequest),
    Connect(cln::ConnectRequest),
    CreateInvoice(cln::CreateinvoiceRequest),
    Datastore(cln::DatastoreRequest),
    CreateOnion(cln::CreateonionRequest),
    DelDatastore(cln::DeldatastoreRequest),
    DelExpiredInvoice(cln::DelinvoiceRequest),
    DelInvoice(cln::DelinvoiceRequest),
    Invoice(cln::InvoiceRequest),
    ListDatastore(cln::ListdatastoreRequest),
    ListInvoices(cln::ListinvoicesRequest),
    SendOnion(cln::SendonionRequest),
    ListSendPays(cln::ListsendpaysRequest),
    ListTransactions(cln::ListtransactionsRequest),
    Pay(cln::PayRequest),
    PreApproveInvoice(cln::PreapproveinvoiceRequest),
    ListNodes(cln::ListnodesRequest),
    WaitAnyInvoice(cln::WaitanyinvoiceRequest),
    WaitInvoice(cln::WaitinvoiceRequest),
    WaitSendPay(cln::WaitsendpayRequest),
    NewAddr(cln::NewaddrRequest),
    Withdraw(cln::WithdrawRequest),
    KeySend(cln::KeysendRequest),
    FundPsbt(cln::FundpsbtRequest),
    SendPsbt(cln::SendpsbtRequest),
    SignPsbt(cln::SignpsbtRequest),
    UtxoPsbt(cln::UtxopsbtRequest),
    TxDiscard(cln::TxdiscardRequest),
    TxPrepare(cln::TxprepareRequest),
    TxSend(cln::TxsendRequest),
    Disconnect(cln::DisconnectRequest),
    Feerates(cln::FeeratesRequest),
    FundChannel(cln::FundchannelRequest),
    GetRoute(cln::GetrouteRequest),
    ListForwards(cln::ListforwardsRequest),
    ListPays(cln::ListpaysRequest),
    Ping(cln::PingRequest),
    SetChannel(cln::SetchannelRequest),
    SignMessage(cln::SignmessageRequest),
    FetchInvoice(cln::FetchinvoiceRequest),
    Stop(cln::StopRequest),
    ListClosedChannels(cln::ListclosedchannelsRequest),
    StaticBackup(cln::StaticbackupRequest),
    TrampolinePay(greenlight::TrampolinePayRequest),
}