mock

package
v1.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockNode

type MockNode struct {
	// contains filtered or unexported fields
}

MockNode is a mock of Node interface.

func NewMockNode

func NewMockNode(ctrl *gomock.Controller) *MockNode

NewMockNode creates a new mock instance.

func (*MockNode) CheckInvoice

func (m *MockNode) CheckInvoice(arg0 string) (bool, error)

CheckInvoice mocks base method.

func (*MockNode) Disconnect

func (m *MockNode) Disconnect() error

Disconnect mocks base method.

func (*MockNode) EXPECT

func (m *MockNode) EXPECT() *MockNodeMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockNode) GenerateInvoice

func (m *MockNode) GenerateInvoice(arg0 int64, arg1 string) (string, error)

GenerateInvoice mocks base method.

func (*MockNode) GetChannels added in v1.1.1

func (m *MockNode) GetChannels() (int64, error)

Getchannels mocks base method.

func (*MockNode) GetInfo added in v1.1.0

func (m *MockNode) GetInfo() (*lnrpc.GetInfoResponse, error)

GetInfo mocks base method.

func (*MockNode) GetPubkey

func (m *MockNode) GetPubkey() string

GetPubkey mocks base method.

func (*MockNode) Keysend

func (m *MockNode) Keysend(arg0 string, arg1 []byte, arg2 int64) error

Keysend mocks base method.

func (*MockNode) ListInvoices added in v1.1.1

func (m *MockNode) ListInvoices() (string, error)

ListInvoices mocks base method.

func (*MockNode) ListPayments added in v1.1.1

func (m *MockNode) ListPayments() (string, error)

ListPayments mocks base method.

func (*MockNode) PayInvoice

func (m *MockNode) PayInvoice(arg0 string) (string, error)

PayInvoice mocks base method.

func (*MockNode) ShouldListen

func (m *MockNode) ShouldListen() bool

ShouldListen mocks base method.

func (*MockNode) SignMessage

func (m *MockNode) SignMessage(arg0 []byte) ([]byte, error)

SignMessage mocks base method.

func (*MockNode) Subscribe

func (m *MockNode) Subscribe(arg0 chan comm.IncomingDIDMessage) error

Subscribe mocks base method.

func (*MockNode) VerifySignature

func (m *MockNode) VerifySignature(arg0, arg1 []byte) (bool, error)

VerifySignature mocks base method.

func (*MockNode) VerifySignatureFromPubkey

func (m *MockNode) VerifySignatureFromPubkey(arg0, arg1, arg2 []byte) (bool, error)

VerifySignatureFromPubkey mocks base method.

type MockNodeMockRecorder

type MockNodeMockRecorder struct {
	// contains filtered or unexported fields
}

MockNodeMockRecorder is the mock recorder for MockNode.

func (*MockNodeMockRecorder) CheckInvoice

func (mr *MockNodeMockRecorder) CheckInvoice(arg0 interface{}) *gomock.Call

CheckInvoice indicates an expected call of CheckInvoice.

func (*MockNodeMockRecorder) Disconnect

func (mr *MockNodeMockRecorder) Disconnect() *gomock.Call

Disconnect indicates an expected call of Disconnect.

func (*MockNodeMockRecorder) GenerateInvoice

func (mr *MockNodeMockRecorder) GenerateInvoice(arg0, arg1 interface{}) *gomock.Call

GenerateInvoice indicates an expected call of GenerateInvoice.

func (*MockNodeMockRecorder) GetInfo added in v1.1.0

func (mr *MockNodeMockRecorder) GetInfo() *gomock.Call

GetInfo indicates an expected call of GetInfo.

func (*MockNodeMockRecorder) GetPubkey

func (mr *MockNodeMockRecorder) GetPubkey() *gomock.Call

GetPubkey indicates an expected call of GetPubkey.

func (*MockNodeMockRecorder) Keysend

func (mr *MockNodeMockRecorder) Keysend(arg0, arg1, arg2 interface{}) *gomock.Call

Keysend indicates an expected call of Keysend.

func (*MockNodeMockRecorder) PayInvoice

func (mr *MockNodeMockRecorder) PayInvoice(arg0 interface{}) *gomock.Call

PayInvoice indicates an expected call of PayInvoice.

func (*MockNodeMockRecorder) ShouldListen

func (mr *MockNodeMockRecorder) ShouldListen() *gomock.Call

ShouldListen indicates an expected call of ShouldListen.

func (*MockNodeMockRecorder) SignMessage

func (mr *MockNodeMockRecorder) SignMessage(arg0 interface{}) *gomock.Call

SignMessage indicates an expected call of SignMessage.

func (*MockNodeMockRecorder) Subscribe

func (mr *MockNodeMockRecorder) Subscribe(arg0 interface{}) *gomock.Call

Subscribe indicates an expected call of Subscribe.

func (*MockNodeMockRecorder) VerifySignature

func (mr *MockNodeMockRecorder) VerifySignature(arg0, arg1 interface{}) *gomock.Call

VerifySignature indicates an expected call of VerifySignature.

func (*MockNodeMockRecorder) VerifySignatureFromPubkey

func (mr *MockNodeMockRecorder) VerifySignatureFromPubkey(arg0, arg1, arg2 interface{}) *gomock.Call

VerifySignatureFromPubkey indicates an expected call of VerifySignatureFromPubkey.

Directories

Path Synopsis
Package lnd_mock is a generated GoMock package.
Package lnd_mock is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL