Documentation ¶
Overview ¶
Package mockdb is a generated GoMock package.
Index ¶
- type MockStore
- func (m *MockStore) AddAccountBalance(arg0 context.Context, arg1 db.AddAccountBalanceParams) (db.Account, error)
- func (m *MockStore) CreateAccount(arg0 context.Context, arg1 db.CreateAccountParams) (db.Account, error)
- func (m *MockStore) CreateEntry(arg0 context.Context, arg1 db.CreateEntryParams) (db.Entry, error)
- func (m *MockStore) CreateTransfers(arg0 context.Context, arg1 db.CreateTransfersParams) (db.Transfer, error)
- func (m *MockStore) DeleteAccount(arg0 context.Context, arg1 int64) error
- func (m *MockStore) DeleteEntry(arg0 context.Context, arg1 int64) error
- func (m *MockStore) DeleteTransfers(arg0 context.Context, arg1 int64) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) GetAccount(arg0 context.Context, arg1 int64) (db.Account, error)
- func (m *MockStore) GetEntry(arg0 context.Context, arg1 int64) (db.Entry, error)
- func (m *MockStore) GetTranfers(arg0 context.Context, arg1 int64) (db.Transfer, error)
- func (m *MockStore) ListAccounts(arg0 context.Context, arg1 db.ListAccountsParams) ([]db.Account, error)
- func (m *MockStore) TransferTx(arg0 context.Context, arg1 db.TransferTxParams) (db.TransferTxResult, error)
- func (m *MockStore) UpdateAccount(arg0 context.Context, arg1 db.UpdateAccountParams) error
- func (m *MockStore) UpdateEntry(arg0 context.Context, arg1 db.UpdateEntryParams) error
- func (m *MockStore) UpdateTransfers(arg0 context.Context, arg1 db.UpdateTransfersParams) error
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) AddAccountBalance(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateAccount(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateEntry(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateTransfers(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteAccount(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteEntry(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteTransfers(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetAccount(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetEntry(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetTranfers(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListAccounts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) TransferTx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateAccount(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateEntry(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateTransfers(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) AddAccountBalance ¶
func (m *MockStore) AddAccountBalance(arg0 context.Context, arg1 db.AddAccountBalanceParams) (db.Account, error)
AddAccountBalance mocks base method.
func (*MockStore) CreateAccount ¶
func (m *MockStore) CreateAccount(arg0 context.Context, arg1 db.CreateAccountParams) (db.Account, error)
CreateAccount mocks base method.
func (*MockStore) CreateEntry ¶
CreateEntry mocks base method.
func (*MockStore) CreateTransfers ¶
func (m *MockStore) CreateTransfers(arg0 context.Context, arg1 db.CreateTransfersParams) (db.Transfer, error)
CreateTransfers mocks base method.
func (*MockStore) DeleteAccount ¶
DeleteAccount mocks base method.
func (*MockStore) DeleteEntry ¶
DeleteEntry mocks base method.
func (*MockStore) DeleteTransfers ¶
DeleteTransfers mocks base method.
func (*MockStore) EXPECT ¶
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStore) GetAccount ¶
GetAccount mocks base method.
func (*MockStore) GetTranfers ¶
GetTranfers mocks base method.
func (*MockStore) ListAccounts ¶
func (m *MockStore) ListAccounts(arg0 context.Context, arg1 db.ListAccountsParams) ([]db.Account, error)
ListAccounts mocks base method.
func (*MockStore) TransferTx ¶
func (m *MockStore) TransferTx(arg0 context.Context, arg1 db.TransferTxParams) (db.TransferTxResult, error)
TransferTx mocks base method.
func (*MockStore) UpdateAccount ¶
UpdateAccount mocks base method.
func (*MockStore) UpdateEntry ¶
UpdateEntry mocks base method.
func (*MockStore) UpdateTransfers ¶
UpdateTransfers mocks base method.
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore.
func (*MockStoreMockRecorder) AddAccountBalance ¶
func (mr *MockStoreMockRecorder) AddAccountBalance(arg0, arg1 interface{}) *gomock.Call
AddAccountBalance indicates an expected call of AddAccountBalance.
func (*MockStoreMockRecorder) CreateAccount ¶
func (mr *MockStoreMockRecorder) CreateAccount(arg0, arg1 interface{}) *gomock.Call
CreateAccount indicates an expected call of CreateAccount.
func (*MockStoreMockRecorder) CreateEntry ¶
func (mr *MockStoreMockRecorder) CreateEntry(arg0, arg1 interface{}) *gomock.Call
CreateEntry indicates an expected call of CreateEntry.
func (*MockStoreMockRecorder) CreateTransfers ¶
func (mr *MockStoreMockRecorder) CreateTransfers(arg0, arg1 interface{}) *gomock.Call
CreateTransfers indicates an expected call of CreateTransfers.
func (*MockStoreMockRecorder) DeleteAccount ¶
func (mr *MockStoreMockRecorder) DeleteAccount(arg0, arg1 interface{}) *gomock.Call
DeleteAccount indicates an expected call of DeleteAccount.
func (*MockStoreMockRecorder) DeleteEntry ¶
func (mr *MockStoreMockRecorder) DeleteEntry(arg0, arg1 interface{}) *gomock.Call
DeleteEntry indicates an expected call of DeleteEntry.
func (*MockStoreMockRecorder) DeleteTransfers ¶
func (mr *MockStoreMockRecorder) DeleteTransfers(arg0, arg1 interface{}) *gomock.Call
DeleteTransfers indicates an expected call of DeleteTransfers.
func (*MockStoreMockRecorder) GetAccount ¶
func (mr *MockStoreMockRecorder) GetAccount(arg0, arg1 interface{}) *gomock.Call
GetAccount indicates an expected call of GetAccount.
func (*MockStoreMockRecorder) GetEntry ¶
func (mr *MockStoreMockRecorder) GetEntry(arg0, arg1 interface{}) *gomock.Call
GetEntry indicates an expected call of GetEntry.
func (*MockStoreMockRecorder) GetTranfers ¶
func (mr *MockStoreMockRecorder) GetTranfers(arg0, arg1 interface{}) *gomock.Call
GetTranfers indicates an expected call of GetTranfers.
func (*MockStoreMockRecorder) ListAccounts ¶
func (mr *MockStoreMockRecorder) ListAccounts(arg0, arg1 interface{}) *gomock.Call
ListAccounts indicates an expected call of ListAccounts.
func (*MockStoreMockRecorder) TransferTx ¶
func (mr *MockStoreMockRecorder) TransferTx(arg0, arg1 interface{}) *gomock.Call
TransferTx indicates an expected call of TransferTx.
func (*MockStoreMockRecorder) UpdateAccount ¶
func (mr *MockStoreMockRecorder) UpdateAccount(arg0, arg1 interface{}) *gomock.Call
UpdateAccount indicates an expected call of UpdateAccount.
func (*MockStoreMockRecorder) UpdateEntry ¶
func (mr *MockStoreMockRecorder) UpdateEntry(arg0, arg1 interface{}) *gomock.Call
UpdateEntry indicates an expected call of UpdateEntry.
func (*MockStoreMockRecorder) UpdateTransfers ¶
func (mr *MockStoreMockRecorder) UpdateTransfers(arg0, arg1 interface{}) *gomock.Call
UpdateTransfers indicates an expected call of UpdateTransfers.