Documentation ¶
Overview ¶
Package mockchatrepository is a generated GoMock package.
Package mockchatrepository is a generated GoMock package.
Index ¶
- type MockMessageRepository
- type MockMessageRepositoryMockRecorder
- type MockRoomRepository
- func (m *MockRoomRepository) Create(room *values.RoomDBValue) *errorhandler.Response
- func (m *MockRoomRepository) EXPECT() *MockRoomRepositoryMockRecorder
- func (m *MockRoomRepository) GetRoomByID(id string) (*values.RoomValue, *errorhandler.Response)
- func (m *MockRoomRepository) QueryRooms(req *dto.QueryRoomsReqDTO) ([]*values.RoomValue, *errorhandler.Response)
- func (m *MockRoomRepository) Update(room *values.RoomDBValue) *errorhandler.Response
- type MockRoomRepositoryMockRecorder
- func (mr *MockRoomRepositoryMockRecorder) Create(room interface{}) *gomock.Call
- func (mr *MockRoomRepositoryMockRecorder) GetRoomByID(id interface{}) *gomock.Call
- func (mr *MockRoomRepositoryMockRecorder) QueryRooms(req interface{}) *gomock.Call
- func (mr *MockRoomRepositoryMockRecorder) Update(room interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMessageRepository ¶
type MockMessageRepository struct {
// contains filtered or unexported fields
}
MockMessageRepository is a mock of MessageRepository interface.
func NewMockMessageRepository ¶
func NewMockMessageRepository(ctrl *gomock.Controller) *MockMessageRepository
NewMockMessageRepository creates a new mock instance.
func (*MockMessageRepository) Create ¶
func (m *MockMessageRepository) Create(message *values.MessageDBValue) *errorhandler.Response
Create mocks base method.
func (*MockMessageRepository) EXPECT ¶
func (m *MockMessageRepository) EXPECT() *MockMessageRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMessageRepository) Query ¶
func (m *MockMessageRepository) Query(query *dto.QueryMessagesReqDTO) ([]*values.MessageValue, *errorhandler.Response)
Query mocks base method.
type MockMessageRepositoryMockRecorder ¶
type MockMessageRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockMessageRepositoryMockRecorder is the mock recorder for MockMessageRepository.
func (*MockMessageRepositoryMockRecorder) Create ¶
func (mr *MockMessageRepositoryMockRecorder) Create(message interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockMessageRepositoryMockRecorder) Query ¶
func (mr *MockMessageRepositoryMockRecorder) Query(query interface{}) *gomock.Call
Query indicates an expected call of Query.
type MockRoomRepository ¶
type MockRoomRepository struct {
// contains filtered or unexported fields
}
MockRoomRepository is a mock of RoomRepository interface.
func NewMockRoomRepository ¶
func NewMockRoomRepository(ctrl *gomock.Controller) *MockRoomRepository
NewMockRoomRepository creates a new mock instance.
func (*MockRoomRepository) Create ¶
func (m *MockRoomRepository) Create(room *values.RoomDBValue) *errorhandler.Response
Create mocks base method.
func (*MockRoomRepository) EXPECT ¶
func (m *MockRoomRepository) EXPECT() *MockRoomRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRoomRepository) GetRoomByID ¶
func (m *MockRoomRepository) GetRoomByID(id string) (*values.RoomValue, *errorhandler.Response)
GetRoomByID mocks base method.
func (*MockRoomRepository) QueryRooms ¶
func (m *MockRoomRepository) QueryRooms(req *dto.QueryRoomsReqDTO) ([]*values.RoomValue, *errorhandler.Response)
QueryRooms mocks base method.
func (*MockRoomRepository) Update ¶
func (m *MockRoomRepository) Update(room *values.RoomDBValue) *errorhandler.Response
Update mocks base method.
type MockRoomRepositoryMockRecorder ¶
type MockRoomRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockRoomRepositoryMockRecorder is the mock recorder for MockRoomRepository.
func (*MockRoomRepositoryMockRecorder) Create ¶
func (mr *MockRoomRepositoryMockRecorder) Create(room interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockRoomRepositoryMockRecorder) GetRoomByID ¶
func (mr *MockRoomRepositoryMockRecorder) GetRoomByID(id interface{}) *gomock.Call
GetRoomByID indicates an expected call of GetRoomByID.
func (*MockRoomRepositoryMockRecorder) QueryRooms ¶
func (mr *MockRoomRepositoryMockRecorder) QueryRooms(req interface{}) *gomock.Call
QueryRooms indicates an expected call of QueryRooms.
func (*MockRoomRepositoryMockRecorder) Update ¶
func (mr *MockRoomRepositoryMockRecorder) Update(room interface{}) *gomock.Call
Update indicates an expected call of Update.