mockchatrepository

package
v0.0.0-...-9cb16bd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mockchatrepository is a generated GoMock package.

Package mockchatrepository is a generated GoMock package.

Index

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

Create mocks base method.

func (*MockMessageRepository) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockMessageRepository) Query

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

Create mocks base method.

func (*MockRoomRepository) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRoomRepository) GetRoomByID

GetRoomByID mocks base method.

func (*MockRoomRepository) QueryRooms

QueryRooms mocks base method.

func (*MockRoomRepository) Update

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL