Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockRepository
- func (m *MockRepository) CreateWallet(arg0 string) error
- func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
- func (m *MockRepository) GetOperations(arg0 dto.OperationsFilter) ([]dto.Operation, error)
- func (m *MockRepository) GetWallet(arg0 string) (*dto.Wallet, error)
- func (m *MockRepository) GetWalletsForUpdateTx(arg0 *sqlx.Tx, arg1 []string) ([]dto.Wallet, error)
- func (m *MockRepository) IncreaseWalletBalance(arg0 string, arg1 uint64) error
- func (m *MockRepository) RunWithTransaction(arg0 func(*sqlx.Tx) error) error
- func (m *MockRepository) TransferTx(arg0 *sqlx.Tx, arg1, arg2 string, arg3 uint64) error
- type MockRepositoryMockRecorder
- func (mr *MockRepositoryMockRecorder) CreateWallet(arg0 interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) GetOperations(arg0 interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) GetWallet(arg0 interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) GetWalletsForUpdateTx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) IncreaseWalletBalance(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) RunWithTransaction(arg0 interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) TransferTx(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRepository ¶
type MockRepository struct {
// contains filtered or unexported fields
}
MockRepository is a mock of Repository interface
func NewMockRepository ¶
func NewMockRepository(ctrl *gomock.Controller) *MockRepository
NewMockRepository creates a new mock instance
func (*MockRepository) CreateWallet ¶
func (m *MockRepository) CreateWallet(arg0 string) error
CreateWallet mocks base method
func (*MockRepository) EXPECT ¶
func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRepository) GetOperations ¶
func (m *MockRepository) GetOperations(arg0 dto.OperationsFilter) ([]dto.Operation, error)
GetOperations mocks base method
func (*MockRepository) GetWallet ¶
func (m *MockRepository) GetWallet(arg0 string) (*dto.Wallet, error)
GetWallet mocks base method
func (*MockRepository) GetWalletsForUpdateTx ¶
GetWalletsForUpdateTx mocks base method
func (*MockRepository) IncreaseWalletBalance ¶
func (m *MockRepository) IncreaseWalletBalance(arg0 string, arg1 uint64) error
IncreaseWalletBalance mocks base method
func (*MockRepository) RunWithTransaction ¶
func (m *MockRepository) RunWithTransaction(arg0 func(*sqlx.Tx) error) error
RunWithTransaction mocks base method
func (*MockRepository) TransferTx ¶
TransferTx mocks base method
type MockRepositoryMockRecorder ¶
type MockRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockRepositoryMockRecorder is the mock recorder for MockRepository
func (*MockRepositoryMockRecorder) CreateWallet ¶
func (mr *MockRepositoryMockRecorder) CreateWallet(arg0 interface{}) *gomock.Call
CreateWallet indicates an expected call of CreateWallet
func (*MockRepositoryMockRecorder) GetOperations ¶
func (mr *MockRepositoryMockRecorder) GetOperations(arg0 interface{}) *gomock.Call
GetOperations indicates an expected call of GetOperations
func (*MockRepositoryMockRecorder) GetWallet ¶
func (mr *MockRepositoryMockRecorder) GetWallet(arg0 interface{}) *gomock.Call
GetWallet indicates an expected call of GetWallet
func (*MockRepositoryMockRecorder) GetWalletsForUpdateTx ¶
func (mr *MockRepositoryMockRecorder) GetWalletsForUpdateTx(arg0, arg1 interface{}) *gomock.Call
GetWalletsForUpdateTx indicates an expected call of GetWalletsForUpdateTx
func (*MockRepositoryMockRecorder) IncreaseWalletBalance ¶
func (mr *MockRepositoryMockRecorder) IncreaseWalletBalance(arg0, arg1 interface{}) *gomock.Call
IncreaseWalletBalance indicates an expected call of IncreaseWalletBalance
func (*MockRepositoryMockRecorder) RunWithTransaction ¶
func (mr *MockRepositoryMockRecorder) RunWithTransaction(arg0 interface{}) *gomock.Call
RunWithTransaction indicates an expected call of RunWithTransaction
func (*MockRepositoryMockRecorder) TransferTx ¶
func (mr *MockRepositoryMockRecorder) TransferTx(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
TransferTx indicates an expected call of TransferTx