Documentation
¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: model.go
Generated by this command:
mockgen -source=model.go -destination model_mock.go -package model MODEL
Package model is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockstorePG ¶
type MockstorePG struct {
// contains filtered or unexported fields
}
MockstorePG is a mock of storePG interface.
func NewMockstorePG ¶
func NewMockstorePG(ctrl *gomock.Controller) *MockstorePG
NewMockstorePG creates a new mock instance.
func (*MockstorePG) CreateRoomById ¶
func (m *MockstorePG) CreateRoomById(ctx context.Context, id string) error
CreateRoomById mocks base method.
func (*MockstorePG) DeleteRoomById ¶
func (m *MockstorePG) DeleteRoomById(ctx context.Context, id string) error
DeleteRoomById mocks base method.
func (*MockstorePG) EXPECT ¶
func (m *MockstorePG) EXPECT() *MockstorePGMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockstorePG) RoomExists ¶
RoomExists mocks base method.
type MockstorePGMockRecorder ¶
type MockstorePGMockRecorder struct {
// contains filtered or unexported fields
}
MockstorePGMockRecorder is the mock recorder for MockstorePG.
func (*MockstorePGMockRecorder) CreateRoomById ¶
func (mr *MockstorePGMockRecorder) CreateRoomById(ctx, id any) *gomock.Call
CreateRoomById indicates an expected call of CreateRoomById.
func (*MockstorePGMockRecorder) DeleteRoomById ¶
func (mr *MockstorePGMockRecorder) DeleteRoomById(ctx, id any) *gomock.Call
DeleteRoomById indicates an expected call of DeleteRoomById.
func (*MockstorePGMockRecorder) RoomExists ¶
func (mr *MockstorePGMockRecorder) RoomExists(ctx, id any) *gomock.Call
RoomExists indicates an expected call of RoomExists.
type Room ¶
type Room struct {
// contains filtered or unexported fields
}
func NewModelRoom ¶
func NewModelRoom(s storePG) *Room
func (*Room) DeleteRoom ¶
func (*Room) RoomExistsUUID ¶
Click to show internal directories.
Click to hide internal directories.