Documentation ¶
Index ¶
- Constants
- type InvoiceMonitor
- type Lnd
- func (lnd Lnd) History(ctx context.Context) (invoices common.Invoices, err error)
- func (lnd Lnd) Info(ctx context.Context) (info common.Info, err error)
- func (lnd Lnd) NewAddress(ctx context.Context, bech32 bool) (address string, err error)
- func (lnd Lnd) NewInvoice(ctx context.Context, amount int64, desc string) (invoice, hash string, err error)
- func (lnd Lnd) Status(ctx context.Context, hash string) (s common.Status, err error)
- func (lnd Lnd) StatusWait(ctx context.Context, hash string) (s common.Status, err error)
Constants ¶
View Source
const ( ClientName = "lnd" DefaultHostname = "localhost" DefaultPort = 10009 DefaultTLS = "~/.lncm/tls.cert" DefaultInvoice = "~/.lncm/invoice.macaroon" DefaultReadOnly = "~/.lncm/readonly.macaroon" DefaultKillCount = 4 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InvoiceMonitor ¶ added in v0.5.0
type InvoiceMonitor struct {
// contains filtered or unexported fields
}
func NewNotifier ¶ added in v0.5.0
func NewNotifier(client lnrpc.LightningClient) (InvoiceMonitor, error)
type Lnd ¶
type Lnd struct {
// contains filtered or unexported fields
}
func (Lnd) NewAddress ¶ added in v0.5.0
func (Lnd) NewInvoice ¶
Click to show internal directories.
Click to hide internal directories.