Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockEvents
- type MockEventsMockRecorder
- type MockStore
- func (m *MockStore) DeleteUser(arg0 context.Context, arg1 string) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) FindUsers(arg0 context.Context, arg1 []model.Filter, arg2, arg3 int64) ([]*model.User, error)
- func (m *MockStore) GetUser(arg0 context.Context, arg1 string) (*model.User, error)
- func (m *MockStore) GetUserByEmail(arg0 context.Context, arg1 string) (*model.User, error)
- func (m *MockStore) InsertUser(arg0 context.Context, arg1 *model.User) (*model.User, error)
- func (m *MockStore) UpdateUser(arg0 context.Context, arg1 *model.User) (*model.User, error)
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) DeleteUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) FindUsers(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetUserByEmail(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) InsertUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateUser(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEvents ¶
type MockEvents struct {
// contains filtered or unexported fields
}
MockEvents is a mock of Events interface.
func NewMockEvents ¶
func NewMockEvents(ctrl *gomock.Controller) *MockEvents
NewMockEvents creates a new mock instance.
func (*MockEvents) EXPECT ¶
func (m *MockEvents) EXPECT() *MockEventsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockEventsMockRecorder ¶
type MockEventsMockRecorder struct {
// contains filtered or unexported fields
}
MockEventsMockRecorder is the mock recorder for MockEvents.
func (*MockEventsMockRecorder) Produce ¶
func (mr *MockEventsMockRecorder) Produce(arg0, arg1, arg2 interface{}) *gomock.Call
Produce indicates an expected call of Produce.
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) DeleteUser ¶
DeleteUser 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) FindUsers ¶
func (m *MockStore) FindUsers(arg0 context.Context, arg1 []model.Filter, arg2, arg3 int64) ([]*model.User, error)
FindUsers mocks base method.
func (*MockStore) GetUserByEmail ¶
GetUserByEmail mocks base method.
func (*MockStore) InsertUser ¶
InsertUser mocks base method.
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore.
func (*MockStoreMockRecorder) DeleteUser ¶
func (mr *MockStoreMockRecorder) DeleteUser(arg0, arg1 interface{}) *gomock.Call
DeleteUser indicates an expected call of DeleteUser.
func (*MockStoreMockRecorder) FindUsers ¶
func (mr *MockStoreMockRecorder) FindUsers(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
FindUsers indicates an expected call of FindUsers.
func (*MockStoreMockRecorder) GetUser ¶
func (mr *MockStoreMockRecorder) GetUser(arg0, arg1 interface{}) *gomock.Call
GetUser indicates an expected call of GetUser.
func (*MockStoreMockRecorder) GetUserByEmail ¶
func (mr *MockStoreMockRecorder) GetUserByEmail(arg0, arg1 interface{}) *gomock.Call
GetUserByEmail indicates an expected call of GetUserByEmail.
func (*MockStoreMockRecorder) InsertUser ¶
func (mr *MockStoreMockRecorder) InsertUser(arg0, arg1 interface{}) *gomock.Call
InsertUser indicates an expected call of InsertUser.
func (*MockStoreMockRecorder) UpdateUser ¶
func (mr *MockStoreMockRecorder) UpdateUser(arg0, arg1 interface{}) *gomock.Call
UpdateUser indicates an expected call of UpdateUser.