Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockStore
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) GetWallet(arg0 context.Context, arg1, arg2 string) (wallet.Wallet, error)
- func (m *MockStore) GetWalletPath(arg0 string) string
- func (m *MockStore) ListWallets(arg0 context.Context) ([]string, error)
- func (m *MockStore) SaveWallet(arg0 context.Context, arg1 wallet.Wallet, arg2 string) error
- func (m *MockStore) WalletExists(arg0 context.Context, arg1 string) (bool, error)
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) GetWallet(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetWalletPath(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListWallets(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SaveWallet(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) WalletExists(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStore ¶
type MockStore struct {
// contains filtered or unexported fields
}
MockStore is a mock of Store interface.
func NewMockStore ¶
func NewMockStore(ctrl *gomock.Controller) *MockStore
NewMockStore creates a new mock instance.
func (*MockStore) EXPECT ¶
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStore) GetWalletPath ¶
GetWalletPath mocks base method.
func (*MockStore) ListWallets ¶
ListWallets mocks base method.
func (*MockStore) SaveWallet ¶
SaveWallet mocks base method.
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore.
func (*MockStoreMockRecorder) GetWallet ¶
func (mr *MockStoreMockRecorder) GetWallet(arg0, arg1, arg2 interface{}) *gomock.Call
GetWallet indicates an expected call of GetWallet.
func (*MockStoreMockRecorder) GetWalletPath ¶
func (mr *MockStoreMockRecorder) GetWalletPath(arg0 interface{}) *gomock.Call
GetWalletPath indicates an expected call of GetWalletPath.
func (*MockStoreMockRecorder) ListWallets ¶
func (mr *MockStoreMockRecorder) ListWallets(arg0 interface{}) *gomock.Call
ListWallets indicates an expected call of ListWallets.
func (*MockStoreMockRecorder) SaveWallet ¶
func (mr *MockStoreMockRecorder) SaveWallet(arg0, arg1, arg2 interface{}) *gomock.Call
SaveWallet indicates an expected call of SaveWallet.
func (*MockStoreMockRecorder) WalletExists ¶
func (mr *MockStoreMockRecorder) WalletExists(arg0, arg1 interface{}) *gomock.Call
WalletExists indicates an expected call of WalletExists.