Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockNode
- func (m *MockNode) CheckInvoice(arg0 string) (bool, error)
- func (m *MockNode) Disconnect() error
- func (m *MockNode) EXPECT() *MockNodeMockRecorder
- func (m *MockNode) GenerateInvoice(arg0 int64, arg1 string) (string, error)
- func (m *MockNode) GetChannels() (int64, error)
- func (m *MockNode) GetInfo() (*lnrpc.GetInfoResponse, error)
- func (m *MockNode) GetPubkey() string
- func (m *MockNode) Keysend(arg0 string, arg1 []byte, arg2 int64) error
- func (m *MockNode) ListInvoices() (string, error)
- func (m *MockNode) ListPayments() (string, error)
- func (m *MockNode) PayInvoice(arg0 string) (string, error)
- func (m *MockNode) ShouldListen() bool
- func (m *MockNode) SignMessage(arg0 []byte) ([]byte, error)
- func (m *MockNode) Subscribe(arg0 chan comm.IncomingDIDMessage) error
- func (m *MockNode) VerifySignature(arg0, arg1 []byte) (bool, error)
- func (m *MockNode) VerifySignatureFromPubkey(arg0, arg1, arg2 []byte) (bool, error)
- type MockNodeMockRecorder
- func (mr *MockNodeMockRecorder) CheckInvoice(arg0 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) Disconnect() *gomock.Call
- func (mr *MockNodeMockRecorder) GenerateInvoice(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) GetInfo() *gomock.Call
- func (mr *MockNodeMockRecorder) GetPubkey() *gomock.Call
- func (mr *MockNodeMockRecorder) Keysend(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) PayInvoice(arg0 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) ShouldListen() *gomock.Call
- func (mr *MockNodeMockRecorder) SignMessage(arg0 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) Subscribe(arg0 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) VerifySignature(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) VerifySignatureFromPubkey(arg0, arg1, arg2 interface{}) *gomock.Call
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 ¶
CheckInvoice 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 ¶
GenerateInvoice mocks base method.
func (*MockNode) GetChannels ¶ added in v1.1.1
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) ListInvoices ¶ added in v1.1.1
ListInvoices mocks base method.
func (*MockNode) ListPayments ¶ added in v1.1.1
ListPayments mocks base method.
func (*MockNode) PayInvoice ¶
PayInvoice mocks base method.
func (*MockNode) ShouldListen ¶
ShouldListen mocks base method.
func (*MockNode) SignMessage ¶
SignMessage mocks base method.
func (*MockNode) Subscribe ¶
func (m *MockNode) Subscribe(arg0 chan comm.IncomingDIDMessage) error
Subscribe mocks base method.
func (*MockNode) VerifySignature ¶
VerifySignature 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.