Documentation
¶
Index ¶
- type LightningClient
- func (_m *LightningClient) AbandonChannel(ctx context.Context, in *lnrpc.AbandonChannelRequest, opts ...grpc.CallOption) (*lnrpc.AbandonChannelResponse, error)
- func (_m *LightningClient) AddInvoice(ctx context.Context, in *lnrpc.Invoice, opts ...grpc.CallOption) (*lnrpc.AddInvoiceResponse, error)
- func (_m *LightningClient) BakeMacaroon(ctx context.Context, in *lnrpc.BakeMacaroonRequest, opts ...grpc.CallOption) (*lnrpc.BakeMacaroonResponse, error)
- func (_m *LightningClient) BatchOpenChannel(ctx context.Context, in *lnrpc.BatchOpenChannelRequest, ...) (*lnrpc.BatchOpenChannelResponse, error)
- func (_m *LightningClient) ChannelAcceptor(ctx context.Context, opts ...grpc.CallOption) (lnrpc.Lightning_ChannelAcceptorClient, error)
- func (_m *LightningClient) ChannelBalance(ctx context.Context, in *lnrpc.ChannelBalanceRequest, opts ...grpc.CallOption) (*lnrpc.ChannelBalanceResponse, error)
- func (_m *LightningClient) CheckMacaroonPermissions(ctx context.Context, in *lnrpc.CheckMacPermRequest, opts ...grpc.CallOption) (*lnrpc.CheckMacPermResponse, error)
- func (_m *LightningClient) CloseChannel(ctx context.Context, in *lnrpc.CloseChannelRequest, opts ...grpc.CallOption) (lnrpc.Lightning_CloseChannelClient, error)
- func (_m *LightningClient) ClosedChannels(ctx context.Context, in *lnrpc.ClosedChannelsRequest, opts ...grpc.CallOption) (*lnrpc.ClosedChannelsResponse, error)
- func (_m *LightningClient) ConnectPeer(ctx context.Context, in *lnrpc.ConnectPeerRequest, opts ...grpc.CallOption) (*lnrpc.ConnectPeerResponse, error)
- func (_m *LightningClient) DebugLevel(ctx context.Context, in *lnrpc.DebugLevelRequest, opts ...grpc.CallOption) (*lnrpc.DebugLevelResponse, error)
- func (_m *LightningClient) DecodePayReq(ctx context.Context, in *lnrpc.PayReqString, opts ...grpc.CallOption) (*lnrpc.PayReq, error)
- func (_m *LightningClient) DeleteAllPayments(ctx context.Context, in *lnrpc.DeleteAllPaymentsRequest, ...) (*lnrpc.DeleteAllPaymentsResponse, error)
- func (_m *LightningClient) DeleteMacaroonID(ctx context.Context, in *lnrpc.DeleteMacaroonIDRequest, ...) (*lnrpc.DeleteMacaroonIDResponse, error)
- func (_m *LightningClient) DeletePayment(ctx context.Context, in *lnrpc.DeletePaymentRequest, opts ...grpc.CallOption) (*lnrpc.DeletePaymentResponse, error)
- func (_m *LightningClient) DescribeGraph(ctx context.Context, in *lnrpc.ChannelGraphRequest, opts ...grpc.CallOption) (*lnrpc.ChannelGraph, error)
- func (_m *LightningClient) DisconnectPeer(ctx context.Context, in *lnrpc.DisconnectPeerRequest, opts ...grpc.CallOption) (*lnrpc.DisconnectPeerResponse, error)
- func (_m *LightningClient) EstimateFee(ctx context.Context, in *lnrpc.EstimateFeeRequest, opts ...grpc.CallOption) (*lnrpc.EstimateFeeResponse, error)
- func (_m *LightningClient) ExportAllChannelBackups(ctx context.Context, in *lnrpc.ChanBackupExportRequest, ...) (*lnrpc.ChanBackupSnapshot, error)
- func (_m *LightningClient) ExportChannelBackup(ctx context.Context, in *lnrpc.ExportChannelBackupRequest, ...) (*lnrpc.ChannelBackup, error)
- func (_m *LightningClient) FeeReport(ctx context.Context, in *lnrpc.FeeReportRequest, opts ...grpc.CallOption) (*lnrpc.FeeReportResponse, error)
- func (_m *LightningClient) ForwardingHistory(ctx context.Context, in *lnrpc.ForwardingHistoryRequest, ...) (*lnrpc.ForwardingHistoryResponse, error)
- func (_m *LightningClient) FundingStateStep(ctx context.Context, in *lnrpc.FundingTransitionMsg, opts ...grpc.CallOption) (*lnrpc.FundingStateStepResp, error)
- func (_m *LightningClient) GetChanInfo(ctx context.Context, in *lnrpc.ChanInfoRequest, opts ...grpc.CallOption) (*lnrpc.ChannelEdge, error)
- func (_m *LightningClient) GetInfo(ctx context.Context, in *lnrpc.GetInfoRequest, opts ...grpc.CallOption) (*lnrpc.GetInfoResponse, error)
- func (_m *LightningClient) GetNetworkInfo(ctx context.Context, in *lnrpc.NetworkInfoRequest, opts ...grpc.CallOption) (*lnrpc.NetworkInfo, error)
- func (_m *LightningClient) GetNodeInfo(ctx context.Context, in *lnrpc.NodeInfoRequest, opts ...grpc.CallOption) (*lnrpc.NodeInfo, error)
- func (_m *LightningClient) GetNodeMetrics(ctx context.Context, in *lnrpc.NodeMetricsRequest, opts ...grpc.CallOption) (*lnrpc.NodeMetricsResponse, error)
- func (_m *LightningClient) GetRecoveryInfo(ctx context.Context, in *lnrpc.GetRecoveryInfoRequest, opts ...grpc.CallOption) (*lnrpc.GetRecoveryInfoResponse, error)
- func (_m *LightningClient) GetTransactions(ctx context.Context, in *lnrpc.GetTransactionsRequest, opts ...grpc.CallOption) (*lnrpc.TransactionDetails, error)
- func (_m *LightningClient) ListAliases(ctx context.Context, in *lnrpc.ListAliasesRequest, opts ...grpc.CallOption) (*lnrpc.ListAliasesResponse, error)
- func (_m *LightningClient) ListChannels(ctx context.Context, in *lnrpc.ListChannelsRequest, opts ...grpc.CallOption) (*lnrpc.ListChannelsResponse, error)
- func (_m *LightningClient) ListInvoices(ctx context.Context, in *lnrpc.ListInvoiceRequest, opts ...grpc.CallOption) (*lnrpc.ListInvoiceResponse, error)
- func (_m *LightningClient) ListMacaroonIDs(ctx context.Context, in *lnrpc.ListMacaroonIDsRequest, opts ...grpc.CallOption) (*lnrpc.ListMacaroonIDsResponse, error)
- func (_m *LightningClient) ListPayments(ctx context.Context, in *lnrpc.ListPaymentsRequest, opts ...grpc.CallOption) (*lnrpc.ListPaymentsResponse, error)
- func (_m *LightningClient) ListPeers(ctx context.Context, in *lnrpc.ListPeersRequest, opts ...grpc.CallOption) (*lnrpc.ListPeersResponse, error)
- func (_m *LightningClient) ListPermissions(ctx context.Context, in *lnrpc.ListPermissionsRequest, opts ...grpc.CallOption) (*lnrpc.ListPermissionsResponse, error)
- func (_m *LightningClient) ListUnspent(ctx context.Context, in *lnrpc.ListUnspentRequest, opts ...grpc.CallOption) (*lnrpc.ListUnspentResponse, error)
- func (_m *LightningClient) LookupHtlcResolution(ctx context.Context, in *lnrpc.LookupHtlcResolutionRequest, ...) (*lnrpc.LookupHtlcResolutionResponse, error)
- func (_m *LightningClient) LookupInvoice(ctx context.Context, in *lnrpc.PaymentHash, opts ...grpc.CallOption) (*lnrpc.Invoice, error)
- func (_m *LightningClient) NewAddress(ctx context.Context, in *lnrpc.NewAddressRequest, opts ...grpc.CallOption) (*lnrpc.NewAddressResponse, error)
- func (_m *LightningClient) OpenChannel(ctx context.Context, in *lnrpc.OpenChannelRequest, opts ...grpc.CallOption) (lnrpc.Lightning_OpenChannelClient, error)
- func (_m *LightningClient) OpenChannelSync(ctx context.Context, in *lnrpc.OpenChannelRequest, opts ...grpc.CallOption) (*lnrpc.ChannelPoint, error)
- func (_m *LightningClient) PendingChannels(ctx context.Context, in *lnrpc.PendingChannelsRequest, opts ...grpc.CallOption) (*lnrpc.PendingChannelsResponse, error)
- func (_m *LightningClient) QueryRoutes(ctx context.Context, in *lnrpc.QueryRoutesRequest, opts ...grpc.CallOption) (*lnrpc.QueryRoutesResponse, error)
- func (_m *LightningClient) RegisterRPCMiddleware(ctx context.Context, opts ...grpc.CallOption) (lnrpc.Lightning_RegisterRPCMiddlewareClient, error)
- func (_m *LightningClient) RestoreChannelBackups(ctx context.Context, in *lnrpc.RestoreChanBackupRequest, ...) (*lnrpc.RestoreBackupResponse, error)
- func (_m *LightningClient) SendCoins(ctx context.Context, in *lnrpc.SendCoinsRequest, opts ...grpc.CallOption) (*lnrpc.SendCoinsResponse, error)
- func (_m *LightningClient) SendCustomMessage(ctx context.Context, in *lnrpc.SendCustomMessageRequest, ...) (*lnrpc.SendCustomMessageResponse, error)
- func (_m *LightningClient) SendMany(ctx context.Context, in *lnrpc.SendManyRequest, opts ...grpc.CallOption) (*lnrpc.SendManyResponse, error)
- func (_m *LightningClient) SendPayment(ctx context.Context, opts ...grpc.CallOption) (lnrpc.Lightning_SendPaymentClient, error)
- func (_m *LightningClient) SendPaymentSync(ctx context.Context, in *lnrpc.SendRequest, opts ...grpc.CallOption) (*lnrpc.SendResponse, error)
- func (_m *LightningClient) SendToRoute(ctx context.Context, opts ...grpc.CallOption) (lnrpc.Lightning_SendToRouteClient, error)
- func (_m *LightningClient) SendToRouteSync(ctx context.Context, in *lnrpc.SendToRouteRequest, opts ...grpc.CallOption) (*lnrpc.SendResponse, error)
- func (_m *LightningClient) SignMessage(ctx context.Context, in *lnrpc.SignMessageRequest, opts ...grpc.CallOption) (*lnrpc.SignMessageResponse, error)
- func (_m *LightningClient) StopDaemon(ctx context.Context, in *lnrpc.StopRequest, opts ...grpc.CallOption) (*lnrpc.StopResponse, error)
- func (_m *LightningClient) SubscribeChannelBackups(ctx context.Context, in *lnrpc.ChannelBackupSubscription, ...) (lnrpc.Lightning_SubscribeChannelBackupsClient, error)
- func (_m *LightningClient) SubscribeChannelEvents(ctx context.Context, in *lnrpc.ChannelEventSubscription, ...) (lnrpc.Lightning_SubscribeChannelEventsClient, error)
- func (_m *LightningClient) SubscribeChannelGraph(ctx context.Context, in *lnrpc.GraphTopologySubscription, ...) (lnrpc.Lightning_SubscribeChannelGraphClient, error)
- func (_m *LightningClient) SubscribeCustomMessages(ctx context.Context, in *lnrpc.SubscribeCustomMessagesRequest, ...) (lnrpc.Lightning_SubscribeCustomMessagesClient, error)
- func (_m *LightningClient) SubscribeInvoices(ctx context.Context, in *lnrpc.InvoiceSubscription, opts ...grpc.CallOption) (lnrpc.Lightning_SubscribeInvoicesClient, error)
- func (_m *LightningClient) SubscribePeerEvents(ctx context.Context, in *lnrpc.PeerEventSubscription, opts ...grpc.CallOption) (lnrpc.Lightning_SubscribePeerEventsClient, error)
- func (_m *LightningClient) SubscribeTransactions(ctx context.Context, in *lnrpc.GetTransactionsRequest, opts ...grpc.CallOption) (lnrpc.Lightning_SubscribeTransactionsClient, error)
- func (_m *LightningClient) UpdateChannelPolicy(ctx context.Context, in *lnrpc.PolicyUpdateRequest, opts ...grpc.CallOption) (*lnrpc.PolicyUpdateResponse, error)
- func (_m *LightningClient) VerifyChanBackup(ctx context.Context, in *lnrpc.ChanBackupSnapshot, opts ...grpc.CallOption) (*lnrpc.VerifyChanBackupResponse, error)
- func (_m *LightningClient) VerifyMessage(ctx context.Context, in *lnrpc.VerifyMessageRequest, opts ...grpc.CallOption) (*lnrpc.VerifyMessageResponse, error)
- func (_m *LightningClient) WalletBalance(ctx context.Context, in *lnrpc.WalletBalanceRequest, opts ...grpc.CallOption) (*lnrpc.WalletBalanceResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LightningClient ¶
LightningClient is an autogenerated mock type for the LightningClient type
func NewLightningClient ¶
func NewLightningClient(t mockConstructorTestingTNewLightningClient) *LightningClient
NewLightningClient creates a new instance of LightningClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*LightningClient) AbandonChannel ¶
func (_m *LightningClient) AbandonChannel(ctx context.Context, in *lnrpc.AbandonChannelRequest, opts ...grpc.CallOption) (*lnrpc.AbandonChannelResponse, error)
AbandonChannel provides a mock function with given fields: ctx, in, opts
func (*LightningClient) AddInvoice ¶
func (_m *LightningClient) AddInvoice(ctx context.Context, in *lnrpc.Invoice, opts ...grpc.CallOption) (*lnrpc.AddInvoiceResponse, error)
AddInvoice provides a mock function with given fields: ctx, in, opts
func (*LightningClient) BakeMacaroon ¶
func (_m *LightningClient) BakeMacaroon(ctx context.Context, in *lnrpc.BakeMacaroonRequest, opts ...grpc.CallOption) (*lnrpc.BakeMacaroonResponse, error)
BakeMacaroon provides a mock function with given fields: ctx, in, opts
func (*LightningClient) BatchOpenChannel ¶
func (_m *LightningClient) BatchOpenChannel(ctx context.Context, in *lnrpc.BatchOpenChannelRequest, opts ...grpc.CallOption) (*lnrpc.BatchOpenChannelResponse, error)
BatchOpenChannel provides a mock function with given fields: ctx, in, opts
func (*LightningClient) ChannelAcceptor ¶
func (_m *LightningClient) ChannelAcceptor(ctx context.Context, opts ...grpc.CallOption) (lnrpc.Lightning_ChannelAcceptorClient, error)
ChannelAcceptor provides a mock function with given fields: ctx, opts
func (*LightningClient) ChannelBalance ¶
func (_m *LightningClient) ChannelBalance(ctx context.Context, in *lnrpc.ChannelBalanceRequest, opts ...grpc.CallOption) (*lnrpc.ChannelBalanceResponse, error)
ChannelBalance provides a mock function with given fields: ctx, in, opts
func (*LightningClient) CheckMacaroonPermissions ¶
func (_m *LightningClient) CheckMacaroonPermissions(ctx context.Context, in *lnrpc.CheckMacPermRequest, opts ...grpc.CallOption) (*lnrpc.CheckMacPermResponse, error)
CheckMacaroonPermissions provides a mock function with given fields: ctx, in, opts
func (*LightningClient) CloseChannel ¶
func (_m *LightningClient) CloseChannel(ctx context.Context, in *lnrpc.CloseChannelRequest, opts ...grpc.CallOption) (lnrpc.Lightning_CloseChannelClient, error)
CloseChannel provides a mock function with given fields: ctx, in, opts
func (*LightningClient) ClosedChannels ¶
func (_m *LightningClient) ClosedChannels(ctx context.Context, in *lnrpc.ClosedChannelsRequest, opts ...grpc.CallOption) (*lnrpc.ClosedChannelsResponse, error)
ClosedChannels provides a mock function with given fields: ctx, in, opts
func (*LightningClient) ConnectPeer ¶
func (_m *LightningClient) ConnectPeer(ctx context.Context, in *lnrpc.ConnectPeerRequest, opts ...grpc.CallOption) (*lnrpc.ConnectPeerResponse, error)
ConnectPeer provides a mock function with given fields: ctx, in, opts
func (*LightningClient) DebugLevel ¶
func (_m *LightningClient) DebugLevel(ctx context.Context, in *lnrpc.DebugLevelRequest, opts ...grpc.CallOption) (*lnrpc.DebugLevelResponse, error)
DebugLevel provides a mock function with given fields: ctx, in, opts
func (*LightningClient) DecodePayReq ¶
func (_m *LightningClient) DecodePayReq(ctx context.Context, in *lnrpc.PayReqString, opts ...grpc.CallOption) (*lnrpc.PayReq, error)
DecodePayReq provides a mock function with given fields: ctx, in, opts
func (*LightningClient) DeleteAllPayments ¶
func (_m *LightningClient) DeleteAllPayments(ctx context.Context, in *lnrpc.DeleteAllPaymentsRequest, opts ...grpc.CallOption) (*lnrpc.DeleteAllPaymentsResponse, error)
DeleteAllPayments provides a mock function with given fields: ctx, in, opts
func (*LightningClient) DeleteMacaroonID ¶
func (_m *LightningClient) DeleteMacaroonID(ctx context.Context, in *lnrpc.DeleteMacaroonIDRequest, opts ...grpc.CallOption) (*lnrpc.DeleteMacaroonIDResponse, error)
DeleteMacaroonID provides a mock function with given fields: ctx, in, opts
func (*LightningClient) DeletePayment ¶
func (_m *LightningClient) DeletePayment(ctx context.Context, in *lnrpc.DeletePaymentRequest, opts ...grpc.CallOption) (*lnrpc.DeletePaymentResponse, error)
DeletePayment provides a mock function with given fields: ctx, in, opts
func (*LightningClient) DescribeGraph ¶
func (_m *LightningClient) DescribeGraph(ctx context.Context, in *lnrpc.ChannelGraphRequest, opts ...grpc.CallOption) (*lnrpc.ChannelGraph, error)
DescribeGraph provides a mock function with given fields: ctx, in, opts
func (*LightningClient) DisconnectPeer ¶
func (_m *LightningClient) DisconnectPeer(ctx context.Context, in *lnrpc.DisconnectPeerRequest, opts ...grpc.CallOption) (*lnrpc.DisconnectPeerResponse, error)
DisconnectPeer provides a mock function with given fields: ctx, in, opts
func (*LightningClient) EstimateFee ¶
func (_m *LightningClient) EstimateFee(ctx context.Context, in *lnrpc.EstimateFeeRequest, opts ...grpc.CallOption) (*lnrpc.EstimateFeeResponse, error)
EstimateFee provides a mock function with given fields: ctx, in, opts
func (*LightningClient) ExportAllChannelBackups ¶
func (_m *LightningClient) ExportAllChannelBackups(ctx context.Context, in *lnrpc.ChanBackupExportRequest, opts ...grpc.CallOption) (*lnrpc.ChanBackupSnapshot, error)
ExportAllChannelBackups provides a mock function with given fields: ctx, in, opts
func (*LightningClient) ExportChannelBackup ¶
func (_m *LightningClient) ExportChannelBackup(ctx context.Context, in *lnrpc.ExportChannelBackupRequest, opts ...grpc.CallOption) (*lnrpc.ChannelBackup, error)
ExportChannelBackup provides a mock function with given fields: ctx, in, opts
func (*LightningClient) FeeReport ¶
func (_m *LightningClient) FeeReport(ctx context.Context, in *lnrpc.FeeReportRequest, opts ...grpc.CallOption) (*lnrpc.FeeReportResponse, error)
FeeReport provides a mock function with given fields: ctx, in, opts
func (*LightningClient) ForwardingHistory ¶
func (_m *LightningClient) ForwardingHistory(ctx context.Context, in *lnrpc.ForwardingHistoryRequest, opts ...grpc.CallOption) (*lnrpc.ForwardingHistoryResponse, error)
ForwardingHistory provides a mock function with given fields: ctx, in, opts
func (*LightningClient) FundingStateStep ¶
func (_m *LightningClient) FundingStateStep(ctx context.Context, in *lnrpc.FundingTransitionMsg, opts ...grpc.CallOption) (*lnrpc.FundingStateStepResp, error)
FundingStateStep provides a mock function with given fields: ctx, in, opts
func (*LightningClient) GetChanInfo ¶
func (_m *LightningClient) GetChanInfo(ctx context.Context, in *lnrpc.ChanInfoRequest, opts ...grpc.CallOption) (*lnrpc.ChannelEdge, error)
GetChanInfo provides a mock function with given fields: ctx, in, opts
func (*LightningClient) GetInfo ¶
func (_m *LightningClient) GetInfo(ctx context.Context, in *lnrpc.GetInfoRequest, opts ...grpc.CallOption) (*lnrpc.GetInfoResponse, error)
GetInfo provides a mock function with given fields: ctx, in, opts
func (*LightningClient) GetNetworkInfo ¶
func (_m *LightningClient) GetNetworkInfo(ctx context.Context, in *lnrpc.NetworkInfoRequest, opts ...grpc.CallOption) (*lnrpc.NetworkInfo, error)
GetNetworkInfo provides a mock function with given fields: ctx, in, opts
func (*LightningClient) GetNodeInfo ¶
func (_m *LightningClient) GetNodeInfo(ctx context.Context, in *lnrpc.NodeInfoRequest, opts ...grpc.CallOption) (*lnrpc.NodeInfo, error)
GetNodeInfo provides a mock function with given fields: ctx, in, opts
func (*LightningClient) GetNodeMetrics ¶
func (_m *LightningClient) GetNodeMetrics(ctx context.Context, in *lnrpc.NodeMetricsRequest, opts ...grpc.CallOption) (*lnrpc.NodeMetricsResponse, error)
GetNodeMetrics provides a mock function with given fields: ctx, in, opts
func (*LightningClient) GetRecoveryInfo ¶
func (_m *LightningClient) GetRecoveryInfo(ctx context.Context, in *lnrpc.GetRecoveryInfoRequest, opts ...grpc.CallOption) (*lnrpc.GetRecoveryInfoResponse, error)
GetRecoveryInfo provides a mock function with given fields: ctx, in, opts
func (*LightningClient) GetTransactions ¶
func (_m *LightningClient) GetTransactions(ctx context.Context, in *lnrpc.GetTransactionsRequest, opts ...grpc.CallOption) (*lnrpc.TransactionDetails, error)
GetTransactions provides a mock function with given fields: ctx, in, opts
func (*LightningClient) ListAliases ¶
func (_m *LightningClient) ListAliases(ctx context.Context, in *lnrpc.ListAliasesRequest, opts ...grpc.CallOption) (*lnrpc.ListAliasesResponse, error)
ListAliases provides a mock function with given fields: ctx, in, opts
func (*LightningClient) ListChannels ¶
func (_m *LightningClient) ListChannels(ctx context.Context, in *lnrpc.ListChannelsRequest, opts ...grpc.CallOption) (*lnrpc.ListChannelsResponse, error)
ListChannels provides a mock function with given fields: ctx, in, opts
func (*LightningClient) ListInvoices ¶
func (_m *LightningClient) ListInvoices(ctx context.Context, in *lnrpc.ListInvoiceRequest, opts ...grpc.CallOption) (*lnrpc.ListInvoiceResponse, error)
ListInvoices provides a mock function with given fields: ctx, in, opts
func (*LightningClient) ListMacaroonIDs ¶
func (_m *LightningClient) ListMacaroonIDs(ctx context.Context, in *lnrpc.ListMacaroonIDsRequest, opts ...grpc.CallOption) (*lnrpc.ListMacaroonIDsResponse, error)
ListMacaroonIDs provides a mock function with given fields: ctx, in, opts
func (*LightningClient) ListPayments ¶
func (_m *LightningClient) ListPayments(ctx context.Context, in *lnrpc.ListPaymentsRequest, opts ...grpc.CallOption) (*lnrpc.ListPaymentsResponse, error)
ListPayments provides a mock function with given fields: ctx, in, opts
func (*LightningClient) ListPeers ¶
func (_m *LightningClient) ListPeers(ctx context.Context, in *lnrpc.ListPeersRequest, opts ...grpc.CallOption) (*lnrpc.ListPeersResponse, error)
ListPeers provides a mock function with given fields: ctx, in, opts
func (*LightningClient) ListPermissions ¶
func (_m *LightningClient) ListPermissions(ctx context.Context, in *lnrpc.ListPermissionsRequest, opts ...grpc.CallOption) (*lnrpc.ListPermissionsResponse, error)
ListPermissions provides a mock function with given fields: ctx, in, opts
func (*LightningClient) ListUnspent ¶
func (_m *LightningClient) ListUnspent(ctx context.Context, in *lnrpc.ListUnspentRequest, opts ...grpc.CallOption) (*lnrpc.ListUnspentResponse, error)
ListUnspent provides a mock function with given fields: ctx, in, opts
func (*LightningClient) LookupHtlcResolution ¶
func (_m *LightningClient) LookupHtlcResolution(ctx context.Context, in *lnrpc.LookupHtlcResolutionRequest, opts ...grpc.CallOption) (*lnrpc.LookupHtlcResolutionResponse, error)
LookupHtlcResolution provides a mock function with given fields: ctx, in, opts
func (*LightningClient) LookupInvoice ¶
func (_m *LightningClient) LookupInvoice(ctx context.Context, in *lnrpc.PaymentHash, opts ...grpc.CallOption) (*lnrpc.Invoice, error)
LookupInvoice provides a mock function with given fields: ctx, in, opts
func (*LightningClient) NewAddress ¶
func (_m *LightningClient) NewAddress(ctx context.Context, in *lnrpc.NewAddressRequest, opts ...grpc.CallOption) (*lnrpc.NewAddressResponse, error)
NewAddress provides a mock function with given fields: ctx, in, opts
func (*LightningClient) OpenChannel ¶
func (_m *LightningClient) OpenChannel(ctx context.Context, in *lnrpc.OpenChannelRequest, opts ...grpc.CallOption) (lnrpc.Lightning_OpenChannelClient, error)
OpenChannel provides a mock function with given fields: ctx, in, opts
func (*LightningClient) OpenChannelSync ¶
func (_m *LightningClient) OpenChannelSync(ctx context.Context, in *lnrpc.OpenChannelRequest, opts ...grpc.CallOption) (*lnrpc.ChannelPoint, error)
OpenChannelSync provides a mock function with given fields: ctx, in, opts
func (*LightningClient) PendingChannels ¶
func (_m *LightningClient) PendingChannels(ctx context.Context, in *lnrpc.PendingChannelsRequest, opts ...grpc.CallOption) (*lnrpc.PendingChannelsResponse, error)
PendingChannels provides a mock function with given fields: ctx, in, opts
func (*LightningClient) QueryRoutes ¶
func (_m *LightningClient) QueryRoutes(ctx context.Context, in *lnrpc.QueryRoutesRequest, opts ...grpc.CallOption) (*lnrpc.QueryRoutesResponse, error)
QueryRoutes provides a mock function with given fields: ctx, in, opts
func (*LightningClient) RegisterRPCMiddleware ¶
func (_m *LightningClient) RegisterRPCMiddleware(ctx context.Context, opts ...grpc.CallOption) (lnrpc.Lightning_RegisterRPCMiddlewareClient, error)
RegisterRPCMiddleware provides a mock function with given fields: ctx, opts
func (*LightningClient) RestoreChannelBackups ¶
func (_m *LightningClient) RestoreChannelBackups(ctx context.Context, in *lnrpc.RestoreChanBackupRequest, opts ...grpc.CallOption) (*lnrpc.RestoreBackupResponse, error)
RestoreChannelBackups provides a mock function with given fields: ctx, in, opts
func (*LightningClient) SendCoins ¶
func (_m *LightningClient) SendCoins(ctx context.Context, in *lnrpc.SendCoinsRequest, opts ...grpc.CallOption) (*lnrpc.SendCoinsResponse, error)
SendCoins provides a mock function with given fields: ctx, in, opts
func (*LightningClient) SendCustomMessage ¶
func (_m *LightningClient) SendCustomMessage(ctx context.Context, in *lnrpc.SendCustomMessageRequest, opts ...grpc.CallOption) (*lnrpc.SendCustomMessageResponse, error)
SendCustomMessage provides a mock function with given fields: ctx, in, opts
func (*LightningClient) SendMany ¶
func (_m *LightningClient) SendMany(ctx context.Context, in *lnrpc.SendManyRequest, opts ...grpc.CallOption) (*lnrpc.SendManyResponse, error)
SendMany provides a mock function with given fields: ctx, in, opts
func (*LightningClient) SendPayment ¶
func (_m *LightningClient) SendPayment(ctx context.Context, opts ...grpc.CallOption) (lnrpc.Lightning_SendPaymentClient, error)
SendPayment provides a mock function with given fields: ctx, opts
func (*LightningClient) SendPaymentSync ¶
func (_m *LightningClient) SendPaymentSync(ctx context.Context, in *lnrpc.SendRequest, opts ...grpc.CallOption) (*lnrpc.SendResponse, error)
SendPaymentSync provides a mock function with given fields: ctx, in, opts
func (*LightningClient) SendToRoute ¶
func (_m *LightningClient) SendToRoute(ctx context.Context, opts ...grpc.CallOption) (lnrpc.Lightning_SendToRouteClient, error)
SendToRoute provides a mock function with given fields: ctx, opts
func (*LightningClient) SendToRouteSync ¶
func (_m *LightningClient) SendToRouteSync(ctx context.Context, in *lnrpc.SendToRouteRequest, opts ...grpc.CallOption) (*lnrpc.SendResponse, error)
SendToRouteSync provides a mock function with given fields: ctx, in, opts
func (*LightningClient) SignMessage ¶
func (_m *LightningClient) SignMessage(ctx context.Context, in *lnrpc.SignMessageRequest, opts ...grpc.CallOption) (*lnrpc.SignMessageResponse, error)
SignMessage provides a mock function with given fields: ctx, in, opts
func (*LightningClient) StopDaemon ¶
func (_m *LightningClient) StopDaemon(ctx context.Context, in *lnrpc.StopRequest, opts ...grpc.CallOption) (*lnrpc.StopResponse, error)
StopDaemon provides a mock function with given fields: ctx, in, opts
func (*LightningClient) SubscribeChannelBackups ¶
func (_m *LightningClient) SubscribeChannelBackups(ctx context.Context, in *lnrpc.ChannelBackupSubscription, opts ...grpc.CallOption) (lnrpc.Lightning_SubscribeChannelBackupsClient, error)
SubscribeChannelBackups provides a mock function with given fields: ctx, in, opts
func (*LightningClient) SubscribeChannelEvents ¶
func (_m *LightningClient) SubscribeChannelEvents(ctx context.Context, in *lnrpc.ChannelEventSubscription, opts ...grpc.CallOption) (lnrpc.Lightning_SubscribeChannelEventsClient, error)
SubscribeChannelEvents provides a mock function with given fields: ctx, in, opts
func (*LightningClient) SubscribeChannelGraph ¶
func (_m *LightningClient) SubscribeChannelGraph(ctx context.Context, in *lnrpc.GraphTopologySubscription, opts ...grpc.CallOption) (lnrpc.Lightning_SubscribeChannelGraphClient, error)
SubscribeChannelGraph provides a mock function with given fields: ctx, in, opts
func (*LightningClient) SubscribeCustomMessages ¶
func (_m *LightningClient) SubscribeCustomMessages(ctx context.Context, in *lnrpc.SubscribeCustomMessagesRequest, opts ...grpc.CallOption) (lnrpc.Lightning_SubscribeCustomMessagesClient, error)
SubscribeCustomMessages provides a mock function with given fields: ctx, in, opts
func (*LightningClient) SubscribeInvoices ¶
func (_m *LightningClient) SubscribeInvoices(ctx context.Context, in *lnrpc.InvoiceSubscription, opts ...grpc.CallOption) (lnrpc.Lightning_SubscribeInvoicesClient, error)
SubscribeInvoices provides a mock function with given fields: ctx, in, opts
func (*LightningClient) SubscribePeerEvents ¶
func (_m *LightningClient) SubscribePeerEvents(ctx context.Context, in *lnrpc.PeerEventSubscription, opts ...grpc.CallOption) (lnrpc.Lightning_SubscribePeerEventsClient, error)
SubscribePeerEvents provides a mock function with given fields: ctx, in, opts
func (*LightningClient) SubscribeTransactions ¶
func (_m *LightningClient) SubscribeTransactions(ctx context.Context, in *lnrpc.GetTransactionsRequest, opts ...grpc.CallOption) (lnrpc.Lightning_SubscribeTransactionsClient, error)
SubscribeTransactions provides a mock function with given fields: ctx, in, opts
func (*LightningClient) UpdateChannelPolicy ¶
func (_m *LightningClient) UpdateChannelPolicy(ctx context.Context, in *lnrpc.PolicyUpdateRequest, opts ...grpc.CallOption) (*lnrpc.PolicyUpdateResponse, error)
UpdateChannelPolicy provides a mock function with given fields: ctx, in, opts
func (*LightningClient) VerifyChanBackup ¶
func (_m *LightningClient) VerifyChanBackup(ctx context.Context, in *lnrpc.ChanBackupSnapshot, opts ...grpc.CallOption) (*lnrpc.VerifyChanBackupResponse, error)
VerifyChanBackup provides a mock function with given fields: ctx, in, opts
func (*LightningClient) VerifyMessage ¶
func (_m *LightningClient) VerifyMessage(ctx context.Context, in *lnrpc.VerifyMessageRequest, opts ...grpc.CallOption) (*lnrpc.VerifyMessageResponse, error)
VerifyMessage provides a mock function with given fields: ctx, in, opts
func (*LightningClient) WalletBalance ¶
func (_m *LightningClient) WalletBalance(ctx context.Context, in *lnrpc.WalletBalanceRequest, opts ...grpc.CallOption) (*lnrpc.WalletBalanceResponse, error)
WalletBalance provides a mock function with given fields: ctx, in, opts