Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockCore
- func (m *MockCore) AddFile(arg0 []byte, arg1 string, arg2 bool) (string, error)
- func (m *MockCore) BackupDID(arg0 string) (*id.DIDUpdateInfo, error)
- func (m *MockCore) CheckInvoice(arg0 string) (bool, error)
- func (m *MockCore) CreateContact(arg0 *contacts.ContactInfo) (*contacts.ContactInfo, error)
- func (m *MockCore) CreateContacts(arg0 []*contacts.ContactInfo) ([]*contacts.ContactInfo, error)
- func (m *MockCore) CreateDID(arg0 string, arg1 []id.Service) (*id.DIDUpdateInfo, error)
- func (m *MockCore) DeleteContact(arg0 int64) error
- func (m *MockCore) DeleteDID(arg0 string) error
- func (m *MockCore) DeleteKey(arg0 int64) error
- func (m *MockCore) DeleteMessage(arg0, arg1 string) error
- func (m *MockCore) EXPECT() *MockCoreMockRecorder
- func (m *MockCore) GenerateInvoice(arg0 int64, arg1 string) (string, error)
- func (m *MockCore) GenerateNewKey(arg0, arg1 string) (*state.AuthStateModel, error)
- func (m *MockCore) GetContact(arg0 int64) (*contacts.ContactInfo, error)
- func (m *MockCore) GetContacts() ([]*contacts.ContactInfo, error)
- func (m *MockCore) GetIONConfig() (config.ION, error)
- func (m *MockCore) GetLightningNodeConfig() (config.Lnd, error)
- func (m *MockCore) GetMessages() ([]*messages.MessageInfo, error)
- func (m *MockCore) GetSeed() (string, error)
- func (m *MockCore) ImportDID(arg0, arg1 string) error
- func (m *MockCore) InitSeed(arg0, arg1 string) (string, string, error)
- func (m *MockCore) ListDID() ([]*did.Doc, error)
- func (m *MockCore) ListFiles() ([]string, error)
- func (m *MockCore) ListKeys() ([]*state.AuthStateModel, error)
- func (m *MockCore) PayInvoice(arg0 string) (string, error)
- func (m *MockCore) RecoverDID(arg0 *id.DIDUpdateInfo, arg1, arg2 string) error
- func (m *MockCore) ResolveDID(arg0 string) (*did.Doc, string, error)
- func (m *MockCore) RetrieveFile(arg0 string) ([]byte, error)
- func (m *MockCore) SaveIONConfig(arg0 config.ION) error
- func (m *MockCore) SaveLightningNodeConfig(arg0 config.Lnd) error
- func (m *MockCore) SaveMessage(arg0, arg1 string, arg2 []string, arg3, arg4, arg5 string) (string, error)
- func (m *MockCore) SendMailboxRequest(arg0 string, arg1 int64, arg2 *relay.RelayMailboxRequestData) (string, error)
- func (m *MockCore) SendMessage(arg0, arg1 string, arg2 int64, arg3 string) (string, error)
- func (m *MockCore) SendMessageV2(arg0, arg1 string, arg2 []string, arg3 int64, arg4, arg5 string, ...) (string, error)
- func (m *MockCore) SendRegistrationRequest(arg0 string, arg1 int64, arg2 *relay.RelayRegistrationRequestData) (string, error)
- func (m *MockCore) SignMessage(arg0 []byte) ([]byte, error)
- func (m *MockCore) Start() error
- func (m *MockCore) Status() (string, error)
- func (m *MockCore) Stop() error
- func (m *MockCore) UnlockSeed(arg0 string) error
- func (m *MockCore) UpdateContact(arg0 *contacts.ContactUpdate) (*contacts.ContactInfo, error)
- func (m *MockCore) UpdateDID(arg0 string) (*id.DIDUpdateInfo, error)
- func (m *MockCore) UpdateKey(arg0 int64, arg1, arg2 string) error
- type MockCoreMockRecorder
- func (mr *MockCoreMockRecorder) AddFile(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCoreMockRecorder) BackupDID(arg0 interface{}) *gomock.Call
- func (mr *MockCoreMockRecorder) CheckInvoice(arg0 interface{}) *gomock.Call
- func (mr *MockCoreMockRecorder) CreateContact(arg0 interface{}) *gomock.Call
- func (mr *MockCoreMockRecorder) CreateContacts(arg0 interface{}) *gomock.Call
- func (mr *MockCoreMockRecorder) CreateDID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCoreMockRecorder) DeleteContact(arg0 interface{}) *gomock.Call
- func (mr *MockCoreMockRecorder) DeleteDID(arg0 interface{}) *gomock.Call
- func (mr *MockCoreMockRecorder) DeleteKey(arg0 interface{}) *gomock.Call
- func (mr *MockCoreMockRecorder) DeleteMessage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCoreMockRecorder) GenerateInvoice(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCoreMockRecorder) GenerateNewKey(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCoreMockRecorder) GetContact(arg0 interface{}) *gomock.Call
- func (mr *MockCoreMockRecorder) GetContacts() *gomock.Call
- func (mr *MockCoreMockRecorder) GetIONConfig() *gomock.Call
- func (mr *MockCoreMockRecorder) GetLightningNodeConfig() *gomock.Call
- func (mr *MockCoreMockRecorder) GetMessages() *gomock.Call
- func (mr *MockCoreMockRecorder) GetSeed() *gomock.Call
- func (mr *MockCoreMockRecorder) ImportDID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCoreMockRecorder) InitSeed(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCoreMockRecorder) ListDID() *gomock.Call
- func (mr *MockCoreMockRecorder) ListFiles() *gomock.Call
- func (mr *MockCoreMockRecorder) ListKeys() *gomock.Call
- func (mr *MockCoreMockRecorder) PayInvoice(arg0 interface{}) *gomock.Call
- func (mr *MockCoreMockRecorder) RecoverDID(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCoreMockRecorder) ResolveDID(arg0 interface{}) *gomock.Call
- func (mr *MockCoreMockRecorder) RetrieveFile(arg0 interface{}) *gomock.Call
- func (mr *MockCoreMockRecorder) SaveIONConfig(arg0 interface{}) *gomock.Call
- func (mr *MockCoreMockRecorder) SaveLightningNodeConfig(arg0 interface{}) *gomock.Call
- func (mr *MockCoreMockRecorder) SaveMessage(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockCoreMockRecorder) SendMailboxRequest(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCoreMockRecorder) SendMessage(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockCoreMockRecorder) SendMessageV2(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
- func (mr *MockCoreMockRecorder) SendRegistrationRequest(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCoreMockRecorder) SignMessage(arg0 interface{}) *gomock.Call
- func (mr *MockCoreMockRecorder) Start() *gomock.Call
- func (mr *MockCoreMockRecorder) Status() *gomock.Call
- func (mr *MockCoreMockRecorder) Stop() *gomock.Call
- func (mr *MockCoreMockRecorder) UnlockSeed(arg0 interface{}) *gomock.Call
- func (mr *MockCoreMockRecorder) UpdateContact(arg0 interface{}) *gomock.Call
- func (mr *MockCoreMockRecorder) UpdateDID(arg0 interface{}) *gomock.Call
- func (mr *MockCoreMockRecorder) UpdateKey(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCore ¶
type MockCore struct {
// contains filtered or unexported fields
}
MockCore is a mock of Core interface.
func NewMockCore ¶
func NewMockCore(ctrl *gomock.Controller) *MockCore
NewMockCore creates a new mock instance.
func (*MockCore) BackupDID ¶
func (m *MockCore) BackupDID(arg0 string) (*id.DIDUpdateInfo, error)
BackupDID mocks base method.
func (*MockCore) CheckInvoice ¶
CheckInvoice mocks base method.
func (*MockCore) CreateContact ¶
func (m *MockCore) CreateContact(arg0 *contacts.ContactInfo) (*contacts.ContactInfo, error)
CreateContact mocks base method.
func (*MockCore) CreateContacts ¶
func (m *MockCore) CreateContacts(arg0 []*contacts.ContactInfo) ([]*contacts.ContactInfo, error)
CreateContacts mocks base method.
func (*MockCore) DeleteContact ¶
DeleteContact mocks base method.
func (*MockCore) DeleteMessage ¶
DeleteMessage mocks base method.
func (*MockCore) EXPECT ¶
func (m *MockCore) EXPECT() *MockCoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCore) GenerateInvoice ¶
GenerateInvoice mocks base method.
func (*MockCore) GenerateNewKey ¶
func (m *MockCore) GenerateNewKey(arg0, arg1 string) (*state.AuthStateModel, error)
GenerateNewKey mocks base method.
func (*MockCore) GetContact ¶
func (m *MockCore) GetContact(arg0 int64) (*contacts.ContactInfo, error)
GetContact mocks base method.
func (*MockCore) GetContacts ¶
func (m *MockCore) GetContacts() ([]*contacts.ContactInfo, error)
GetContacts mocks base method.
func (*MockCore) GetIONConfig ¶
GetIONConfig mocks base method.
func (*MockCore) GetLightningNodeConfig ¶
GetLightningNodeConfig mocks base method.
func (*MockCore) GetMessages ¶
func (m *MockCore) GetMessages() ([]*messages.MessageInfo, error)
GetMessages mocks base method.
func (*MockCore) ListKeys ¶
func (m *MockCore) ListKeys() ([]*state.AuthStateModel, error)
ListKeys mocks base method.
func (*MockCore) PayInvoice ¶
PayInvoice mocks base method.
func (*MockCore) RecoverDID ¶
func (m *MockCore) RecoverDID(arg0 *id.DIDUpdateInfo, arg1, arg2 string) error
RecoverDID mocks base method.
func (*MockCore) ResolveDID ¶
ResolveDID mocks base method.
func (*MockCore) RetrieveFile ¶
RetrieveFile mocks base method.
func (*MockCore) SaveIONConfig ¶
SaveIONConfig mocks base method.
func (*MockCore) SaveLightningNodeConfig ¶
SaveLightningNodeConfig mocks base method.
func (*MockCore) SaveMessage ¶
func (m *MockCore) SaveMessage(arg0, arg1 string, arg2 []string, arg3, arg4, arg5 string) (string, error)
SaveMessage mocks base method.
func (*MockCore) SendMailboxRequest ¶
func (m *MockCore) SendMailboxRequest(arg0 string, arg1 int64, arg2 *relay.RelayMailboxRequestData) (string, error)
SendMailboxRequest mocks base method.
func (*MockCore) SendMessage ¶
SendMessage mocks base method.
func (*MockCore) SendMessageV2 ¶
func (m *MockCore) SendMessageV2(arg0, arg1 string, arg2 []string, arg3 int64, arg4, arg5 string, arg6 *comm.MessageSettings) (string, error)
SendMessageV2 mocks base method.
func (*MockCore) SendRegistrationRequest ¶
func (m *MockCore) SendRegistrationRequest(arg0 string, arg1 int64, arg2 *relay.RelayRegistrationRequestData) (string, error)
SendRegistrationRequest mocks base method.
func (*MockCore) SignMessage ¶
SignMessage mocks base method.
func (*MockCore) UnlockSeed ¶
UnlockSeed mocks base method.
func (*MockCore) UpdateContact ¶
func (m *MockCore) UpdateContact(arg0 *contacts.ContactUpdate) (*contacts.ContactInfo, error)
UpdateContact mocks base method.
type MockCoreMockRecorder ¶
type MockCoreMockRecorder struct {
// contains filtered or unexported fields
}
MockCoreMockRecorder is the mock recorder for MockCore.
func (*MockCoreMockRecorder) AddFile ¶
func (mr *MockCoreMockRecorder) AddFile(arg0, arg1, arg2 interface{}) *gomock.Call
AddFile indicates an expected call of AddFile.
func (*MockCoreMockRecorder) BackupDID ¶
func (mr *MockCoreMockRecorder) BackupDID(arg0 interface{}) *gomock.Call
BackupDID indicates an expected call of BackupDID.
func (*MockCoreMockRecorder) CheckInvoice ¶
func (mr *MockCoreMockRecorder) CheckInvoice(arg0 interface{}) *gomock.Call
CheckInvoice indicates an expected call of CheckInvoice.
func (*MockCoreMockRecorder) CreateContact ¶
func (mr *MockCoreMockRecorder) CreateContact(arg0 interface{}) *gomock.Call
CreateContact indicates an expected call of CreateContact.
func (*MockCoreMockRecorder) CreateContacts ¶
func (mr *MockCoreMockRecorder) CreateContacts(arg0 interface{}) *gomock.Call
CreateContacts indicates an expected call of CreateContacts.
func (*MockCoreMockRecorder) CreateDID ¶
func (mr *MockCoreMockRecorder) CreateDID(arg0, arg1 interface{}) *gomock.Call
CreateDID indicates an expected call of CreateDID.
func (*MockCoreMockRecorder) DeleteContact ¶
func (mr *MockCoreMockRecorder) DeleteContact(arg0 interface{}) *gomock.Call
DeleteContact indicates an expected call of DeleteContact.
func (*MockCoreMockRecorder) DeleteDID ¶
func (mr *MockCoreMockRecorder) DeleteDID(arg0 interface{}) *gomock.Call
DeleteDID indicates an expected call of DeleteDID.
func (*MockCoreMockRecorder) DeleteKey ¶
func (mr *MockCoreMockRecorder) DeleteKey(arg0 interface{}) *gomock.Call
DeleteKey indicates an expected call of DeleteKey.
func (*MockCoreMockRecorder) DeleteMessage ¶
func (mr *MockCoreMockRecorder) DeleteMessage(arg0, arg1 interface{}) *gomock.Call
DeleteMessage indicates an expected call of DeleteMessage.
func (*MockCoreMockRecorder) GenerateInvoice ¶
func (mr *MockCoreMockRecorder) GenerateInvoice(arg0, arg1 interface{}) *gomock.Call
GenerateInvoice indicates an expected call of GenerateInvoice.
func (*MockCoreMockRecorder) GenerateNewKey ¶
func (mr *MockCoreMockRecorder) GenerateNewKey(arg0, arg1 interface{}) *gomock.Call
GenerateNewKey indicates an expected call of GenerateNewKey.
func (*MockCoreMockRecorder) GetContact ¶
func (mr *MockCoreMockRecorder) GetContact(arg0 interface{}) *gomock.Call
GetContact indicates an expected call of GetContact.
func (*MockCoreMockRecorder) GetContacts ¶
func (mr *MockCoreMockRecorder) GetContacts() *gomock.Call
GetContacts indicates an expected call of GetContacts.
func (*MockCoreMockRecorder) GetIONConfig ¶
func (mr *MockCoreMockRecorder) GetIONConfig() *gomock.Call
GetIONConfig indicates an expected call of GetIONConfig.
func (*MockCoreMockRecorder) GetLightningNodeConfig ¶
func (mr *MockCoreMockRecorder) GetLightningNodeConfig() *gomock.Call
GetLightningNodeConfig indicates an expected call of GetLightningNodeConfig.
func (*MockCoreMockRecorder) GetMessages ¶
func (mr *MockCoreMockRecorder) GetMessages() *gomock.Call
GetMessages indicates an expected call of GetMessages.
func (*MockCoreMockRecorder) GetSeed ¶
func (mr *MockCoreMockRecorder) GetSeed() *gomock.Call
GetSeed indicates an expected call of GetSeed.
func (*MockCoreMockRecorder) ImportDID ¶
func (mr *MockCoreMockRecorder) ImportDID(arg0, arg1 interface{}) *gomock.Call
ImportDID indicates an expected call of ImportDID.
func (*MockCoreMockRecorder) InitSeed ¶
func (mr *MockCoreMockRecorder) InitSeed(arg0, arg1 interface{}) *gomock.Call
InitSeed indicates an expected call of InitSeed.
func (*MockCoreMockRecorder) ListDID ¶
func (mr *MockCoreMockRecorder) ListDID() *gomock.Call
ListDID indicates an expected call of ListDID.
func (*MockCoreMockRecorder) ListFiles ¶
func (mr *MockCoreMockRecorder) ListFiles() *gomock.Call
ListFiles indicates an expected call of ListFiles.
func (*MockCoreMockRecorder) ListKeys ¶
func (mr *MockCoreMockRecorder) ListKeys() *gomock.Call
ListKeys indicates an expected call of ListKeys.
func (*MockCoreMockRecorder) PayInvoice ¶
func (mr *MockCoreMockRecorder) PayInvoice(arg0 interface{}) *gomock.Call
PayInvoice indicates an expected call of PayInvoice.
func (*MockCoreMockRecorder) RecoverDID ¶
func (mr *MockCoreMockRecorder) RecoverDID(arg0, arg1, arg2 interface{}) *gomock.Call
RecoverDID indicates an expected call of RecoverDID.
func (*MockCoreMockRecorder) ResolveDID ¶
func (mr *MockCoreMockRecorder) ResolveDID(arg0 interface{}) *gomock.Call
ResolveDID indicates an expected call of ResolveDID.
func (*MockCoreMockRecorder) RetrieveFile ¶
func (mr *MockCoreMockRecorder) RetrieveFile(arg0 interface{}) *gomock.Call
RetrieveFile indicates an expected call of RetrieveFile.
func (*MockCoreMockRecorder) SaveIONConfig ¶
func (mr *MockCoreMockRecorder) SaveIONConfig(arg0 interface{}) *gomock.Call
SaveIONConfig indicates an expected call of SaveIONConfig.
func (*MockCoreMockRecorder) SaveLightningNodeConfig ¶
func (mr *MockCoreMockRecorder) SaveLightningNodeConfig(arg0 interface{}) *gomock.Call
SaveLightningNodeConfig indicates an expected call of SaveLightningNodeConfig.
func (*MockCoreMockRecorder) SaveMessage ¶
func (mr *MockCoreMockRecorder) SaveMessage(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
SaveMessage indicates an expected call of SaveMessage.
func (*MockCoreMockRecorder) SendMailboxRequest ¶
func (mr *MockCoreMockRecorder) SendMailboxRequest(arg0, arg1, arg2 interface{}) *gomock.Call
SendMailboxRequest indicates an expected call of SendMailboxRequest.
func (*MockCoreMockRecorder) SendMessage ¶
func (mr *MockCoreMockRecorder) SendMessage(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SendMessage indicates an expected call of SendMessage.
func (*MockCoreMockRecorder) SendMessageV2 ¶
func (mr *MockCoreMockRecorder) SendMessageV2(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
SendMessageV2 indicates an expected call of SendMessageV2.
func (*MockCoreMockRecorder) SendRegistrationRequest ¶
func (mr *MockCoreMockRecorder) SendRegistrationRequest(arg0, arg1, arg2 interface{}) *gomock.Call
SendRegistrationRequest indicates an expected call of SendRegistrationRequest.
func (*MockCoreMockRecorder) SignMessage ¶
func (mr *MockCoreMockRecorder) SignMessage(arg0 interface{}) *gomock.Call
SignMessage indicates an expected call of SignMessage.
func (*MockCoreMockRecorder) Start ¶
func (mr *MockCoreMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start.
func (*MockCoreMockRecorder) Status ¶
func (mr *MockCoreMockRecorder) Status() *gomock.Call
Status indicates an expected call of Status.
func (*MockCoreMockRecorder) Stop ¶
func (mr *MockCoreMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
func (*MockCoreMockRecorder) UnlockSeed ¶
func (mr *MockCoreMockRecorder) UnlockSeed(arg0 interface{}) *gomock.Call
UnlockSeed indicates an expected call of UnlockSeed.
func (*MockCoreMockRecorder) UpdateContact ¶
func (mr *MockCoreMockRecorder) UpdateContact(arg0 interface{}) *gomock.Call
UpdateContact indicates an expected call of UpdateContact.
func (*MockCoreMockRecorder) UpdateDID ¶
func (mr *MockCoreMockRecorder) UpdateDID(arg0 interface{}) *gomock.Call
UpdateDID indicates an expected call of UpdateDID.
func (*MockCoreMockRecorder) UpdateKey ¶
func (mr *MockCoreMockRecorder) UpdateKey(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateKey indicates an expected call of UpdateKey.