Documentation
¶
Overview ¶
Package automock is a generated GoMock package.
Package automock is a generated GoMock package.
Index ¶
- type MockAuthServer
- type MockAuthServerMockRecorder
- type MockTraderRepository
- func (m *MockTraderRepository) CreateTrader(arg0 context.Context, arg1 barter.Trader) (*barter.Trader, common.Error)
- func (m *MockTraderRepository) EXPECT() *MockTraderRepositoryMockRecorder
- func (m *MockTraderRepository) GetTraderByEmail(arg0 context.Context, arg1 string) (*barter.Trader, common.Error)
- type MockTraderRepositoryMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthServer ¶
type MockAuthServer struct {
// contains filtered or unexported fields
}
MockAuthServer is a mock of AuthServer interface.
func NewMockAuthServer ¶
func NewMockAuthServer(ctrl *gomock.Controller) *MockAuthServer
NewMockAuthServer creates a new mock instance.
func (*MockAuthServer) AuthenticateAccount ¶
AuthenticateAccount mocks base method.
func (*MockAuthServer) EXPECT ¶
func (m *MockAuthServer) EXPECT() *MockAuthServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthServer) RegisterAccount ¶
func (m *MockAuthServer) RegisterAccount(arg0 context.Context, arg1, arg2 string) (string, common.Error)
RegisterAccount mocks base method.
type MockAuthServerMockRecorder ¶
type MockAuthServerMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthServerMockRecorder is the mock recorder for MockAuthServer.
func (*MockAuthServerMockRecorder) AuthenticateAccount ¶
func (mr *MockAuthServerMockRecorder) AuthenticateAccount(arg0, arg1, arg2 interface{}) *gomock.Call
AuthenticateAccount indicates an expected call of AuthenticateAccount.
func (*MockAuthServerMockRecorder) RegisterAccount ¶
func (mr *MockAuthServerMockRecorder) RegisterAccount(arg0, arg1, arg2 interface{}) *gomock.Call
RegisterAccount indicates an expected call of RegisterAccount.
type MockTraderRepository ¶
type MockTraderRepository struct {
// contains filtered or unexported fields
}
MockTraderRepository is a mock of TraderRepository interface.
func NewMockTraderRepository ¶
func NewMockTraderRepository(ctrl *gomock.Controller) *MockTraderRepository
NewMockTraderRepository creates a new mock instance.
func (*MockTraderRepository) CreateTrader ¶
func (m *MockTraderRepository) CreateTrader(arg0 context.Context, arg1 barter.Trader) (*barter.Trader, common.Error)
CreateTrader mocks base method.
func (*MockTraderRepository) EXPECT ¶
func (m *MockTraderRepository) EXPECT() *MockTraderRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTraderRepository) GetTraderByEmail ¶
func (m *MockTraderRepository) GetTraderByEmail(arg0 context.Context, arg1 string) (*barter.Trader, common.Error)
GetTraderByEmail mocks base method.
type MockTraderRepositoryMockRecorder ¶
type MockTraderRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockTraderRepositoryMockRecorder is the mock recorder for MockTraderRepository.
func (*MockTraderRepositoryMockRecorder) CreateTrader ¶
func (mr *MockTraderRepositoryMockRecorder) CreateTrader(arg0, arg1 interface{}) *gomock.Call
CreateTrader indicates an expected call of CreateTrader.
func (*MockTraderRepositoryMockRecorder) GetTraderByEmail ¶
func (mr *MockTraderRepositoryMockRecorder) GetTraderByEmail(arg0, arg1 interface{}) *gomock.Call
GetTraderByEmail indicates an expected call of GetTraderByEmail.