Documentation ¶
Index ¶
- type Backend
- func (b *Backend) CreateInvoice(ctx context.Context, amt int64, desc string) (*models.Invoice, error)
- func (b *Backend) DecodePayReq(ctx context.Context, payreq string) (*models.PayReq, error)
- func (b *Backend) GetChannelInfo(ctx context.Context, channel *models.Channel) error
- func (b *Backend) GetChannelsBalance(ctx context.Context) (*models.ChannelsBalance, error)
- func (b *Backend) GetForwardingHistory(ctx context.Context, startTime string, maxNumEvents uint32) ([]*models.ForwardingEvent, error)
- func (b *Backend) GetInvoice(ctx context.Context, hash string) (*models.Invoice, error)
- func (b *Backend) GetNode(ctx context.Context, pubkey string, includeChannels bool) (*models.Node, error)
- func (b *Backend) GetTransactions(ctx context.Context) ([]*models.Transaction, error)
- func (b *Backend) GetWalletBalance(ctx context.Context) (*models.WalletBalance, error)
- func (b *Backend) Info(ctx context.Context) (*models.Info, error)
- func (b *Backend) ListChannels(ctx context.Context, opt ...options.Channel) ([]*models.Channel, error)
- func (b *Backend) NodeName() string
- func (b *Backend) Ping() error
- func (l *Backend) SendPayment(ctx context.Context, payreq *models.PayReq) (*models.Payment, error)
- func (b *Backend) SubscribeChannels(context.Context, chan *models.ChannelUpdate) error
- func (b *Backend) SubscribeGraphEvents(ctx context.Context, channel chan *models.ChannelEdgeUpdate) error
- func (b *Backend) SubscribeInvoice(ctx context.Context, ChannelInvoice chan *models.Invoice) error
- func (b *Backend) SubscribeRoutingEvents(ctx context.Context, channel chan *models.RoutingEvent) error
- func (b *Backend) SubscribeTransactions(ctx context.Context, channel chan *models.Transaction) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
func (*Backend) CreateInvoice ¶
func (*Backend) DecodePayReq ¶
func (*Backend) GetChannelInfo ¶
func (*Backend) GetChannelsBalance ¶
func (*Backend) GetForwardingHistory ¶ added in v0.4.0
func (*Backend) GetInvoice ¶
func (*Backend) GetTransactions ¶ added in v0.1.0
func (*Backend) GetWalletBalance ¶
func (*Backend) ListChannels ¶
func (*Backend) SendPayment ¶
func (*Backend) SubscribeChannels ¶
func (*Backend) SubscribeGraphEvents ¶ added in v0.4.0
func (*Backend) SubscribeInvoice ¶
func (*Backend) SubscribeRoutingEvents ¶ added in v0.2.0
func (*Backend) SubscribeTransactions ¶ added in v0.1.0
Click to show internal directories.
Click to hide internal directories.