Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockLightningManager
- func (m *MockLightningManager) AddNode(arg0 node.Node) error
- func (m *MockLightningManager) CheckInvoice(arg0 string) (bool, error)
- func (m *MockLightningManager) CheckMsg(arg0 string, arg1 *comm.DIDCommMsg) bool
- func (m *MockLightningManager) EXPECT() *MockLightningManagerMockRecorder
- func (m *MockLightningManager) GenerateInvoice(arg0 int64, arg1 string) (string, error)
- func (m *MockLightningManager) PayInvoice(arg0 string) (string, error)
- func (m *MockLightningManager) RemoveNode(arg0 string) error
- func (m *MockLightningManager) SendData(arg0 string, arg1 *comm.DIDCommMsg) error
- func (m *MockLightningManager) SignMessage(arg0 []byte) ([]byte, error)
- func (m *MockLightningManager) Stop()
- func (m *MockLightningManager) Subscribe() error
- func (m *MockLightningManager) VerifySignature(arg0, arg1 []byte) (bool, error)
- type MockLightningManagerMockRecorder
- func (mr *MockLightningManagerMockRecorder) AddNode(arg0 interface{}) *gomock.Call
- func (mr *MockLightningManagerMockRecorder) CheckInvoice(arg0 interface{}) *gomock.Call
- func (mr *MockLightningManagerMockRecorder) CheckMsg(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLightningManagerMockRecorder) GenerateInvoice(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLightningManagerMockRecorder) PayInvoice(arg0 interface{}) *gomock.Call
- func (mr *MockLightningManagerMockRecorder) RemoveNode(arg0 interface{}) *gomock.Call
- func (mr *MockLightningManagerMockRecorder) SendData(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLightningManagerMockRecorder) SignMessage(arg0 interface{}) *gomock.Call
- func (mr *MockLightningManagerMockRecorder) Stop() *gomock.Call
- func (mr *MockLightningManagerMockRecorder) Subscribe() *gomock.Call
- func (mr *MockLightningManagerMockRecorder) VerifySignature(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLightningManager ¶
type MockLightningManager struct {
// contains filtered or unexported fields
}
MockLightningManager is a mock of LightningManager interface.
func NewMockLightningManager ¶
func NewMockLightningManager(ctrl *gomock.Controller) *MockLightningManager
NewMockLightningManager creates a new mock instance.
func (*MockLightningManager) AddNode ¶
func (m *MockLightningManager) AddNode(arg0 node.Node) error
AddNode mocks base method.
func (*MockLightningManager) CheckInvoice ¶
func (m *MockLightningManager) CheckInvoice(arg0 string) (bool, error)
CheckInvoice mocks base method.
func (*MockLightningManager) CheckMsg ¶
func (m *MockLightningManager) CheckMsg(arg0 string, arg1 *comm.DIDCommMsg) bool
CheckMsg mocks base method.
func (*MockLightningManager) EXPECT ¶
func (m *MockLightningManager) EXPECT() *MockLightningManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLightningManager) GenerateInvoice ¶
func (m *MockLightningManager) GenerateInvoice(arg0 int64, arg1 string) (string, error)
GenerateInvoice mocks base method.
func (*MockLightningManager) PayInvoice ¶
func (m *MockLightningManager) PayInvoice(arg0 string) (string, error)
PayInvoice mocks base method.
func (*MockLightningManager) RemoveNode ¶
func (m *MockLightningManager) RemoveNode(arg0 string) error
RemoveNode mocks base method.
func (*MockLightningManager) SendData ¶
func (m *MockLightningManager) SendData(arg0 string, arg1 *comm.DIDCommMsg) error
SendData mocks base method.
func (*MockLightningManager) SignMessage ¶
func (m *MockLightningManager) SignMessage(arg0 []byte) ([]byte, error)
SignMessage mocks base method.
func (*MockLightningManager) Subscribe ¶
func (m *MockLightningManager) Subscribe() error
Subscribe mocks base method.
func (*MockLightningManager) VerifySignature ¶
func (m *MockLightningManager) VerifySignature(arg0, arg1 []byte) (bool, error)
VerifySignature mocks base method.
type MockLightningManagerMockRecorder ¶
type MockLightningManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockLightningManagerMockRecorder is the mock recorder for MockLightningManager.
func (*MockLightningManagerMockRecorder) AddNode ¶
func (mr *MockLightningManagerMockRecorder) AddNode(arg0 interface{}) *gomock.Call
AddNode indicates an expected call of AddNode.
func (*MockLightningManagerMockRecorder) CheckInvoice ¶
func (mr *MockLightningManagerMockRecorder) CheckInvoice(arg0 interface{}) *gomock.Call
CheckInvoice indicates an expected call of CheckInvoice.
func (*MockLightningManagerMockRecorder) CheckMsg ¶
func (mr *MockLightningManagerMockRecorder) CheckMsg(arg0, arg1 interface{}) *gomock.Call
CheckMsg indicates an expected call of CheckMsg.
func (*MockLightningManagerMockRecorder) GenerateInvoice ¶
func (mr *MockLightningManagerMockRecorder) GenerateInvoice(arg0, arg1 interface{}) *gomock.Call
GenerateInvoice indicates an expected call of GenerateInvoice.
func (*MockLightningManagerMockRecorder) PayInvoice ¶
func (mr *MockLightningManagerMockRecorder) PayInvoice(arg0 interface{}) *gomock.Call
PayInvoice indicates an expected call of PayInvoice.
func (*MockLightningManagerMockRecorder) RemoveNode ¶
func (mr *MockLightningManagerMockRecorder) RemoveNode(arg0 interface{}) *gomock.Call
RemoveNode indicates an expected call of RemoveNode.
func (*MockLightningManagerMockRecorder) SendData ¶
func (mr *MockLightningManagerMockRecorder) SendData(arg0, arg1 interface{}) *gomock.Call
SendData indicates an expected call of SendData.
func (*MockLightningManagerMockRecorder) SignMessage ¶
func (mr *MockLightningManagerMockRecorder) SignMessage(arg0 interface{}) *gomock.Call
SignMessage indicates an expected call of SignMessage.
func (*MockLightningManagerMockRecorder) Stop ¶
func (mr *MockLightningManagerMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
func (*MockLightningManagerMockRecorder) Subscribe ¶
func (mr *MockLightningManagerMockRecorder) Subscribe() *gomock.Call
Subscribe indicates an expected call of Subscribe.
func (*MockLightningManagerMockRecorder) VerifySignature ¶
func (mr *MockLightningManagerMockRecorder) VerifySignature(arg0, arg1 interface{}) *gomock.Call
VerifySignature indicates an expected call of VerifySignature.