Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LND ¶
type LND struct {
GRPCHost string `long:"grpchost" Description:"Host of the gRPC interface of LND"`
CertFile string `long:"certfile" Description:"TLS certificate for the LND gRPC and REST services"`
MacaroonFile string `long:"macaroonfile" Description:"Admin macaroon file for authentication. Set to an empty string for no macaroon"`
// contains filtered or unexported fields
}
func (*LND) GetInvoice ¶
func (*LND) SubscribeInvoices ¶
func (lnd *LND) SubscribeInvoices(callback PublishInvoiceSettled, eventSrv *eventsource.Server) error
type PublishInvoiceSettled ¶
type PublishInvoiceSettled func(invoice string, eventSrv *eventsource.Server)
For callbacks when an invoice gets settled
Click to show internal directories.
Click to hide internal directories.