mock_chat

package
v0.0.0-...-7efc56f Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mock_chat is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockChatServiceClient

type MockChatServiceClient struct {
	// contains filtered or unexported fields
}

MockChatServiceClient is a mock of ChatServiceClient interface.

func NewMockChatServiceClient

func NewMockChatServiceClient(ctrl *gomock.Controller) *MockChatServiceClient

NewMockChatServiceClient creates a new mock instance.

func (*MockChatServiceClient) CreateMessage

CreateMessage mocks base method.

func (*MockChatServiceClient) CreateRoom

CreateRoom mocks base method.

func (*MockChatServiceClient) EXPECT

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

func (*MockChatServiceClient) ListRoom

ListRoom mocks base method.

func (*MockChatServiceClient) UploadImage

UploadImage mocks base method.

type MockChatServiceClientMockRecorder

type MockChatServiceClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockChatServiceClientMockRecorder is the mock recorder for MockChatServiceClient.

func (*MockChatServiceClientMockRecorder) CreateMessage

func (mr *MockChatServiceClientMockRecorder) CreateMessage(ctx, in interface{}, opts ...interface{}) *gomock.Call

CreateMessage indicates an expected call of CreateMessage.

func (*MockChatServiceClientMockRecorder) CreateRoom

func (mr *MockChatServiceClientMockRecorder) CreateRoom(ctx, in interface{}, opts ...interface{}) *gomock.Call

CreateRoom indicates an expected call of CreateRoom.

func (*MockChatServiceClientMockRecorder) ListRoom

func (mr *MockChatServiceClientMockRecorder) ListRoom(ctx, in interface{}, opts ...interface{}) *gomock.Call

ListRoom indicates an expected call of ListRoom.

func (*MockChatServiceClientMockRecorder) UploadImage

func (mr *MockChatServiceClientMockRecorder) UploadImage(ctx interface{}, opts ...interface{}) *gomock.Call

UploadImage indicates an expected call of UploadImage.

type MockChatServiceServer

type MockChatServiceServer struct {
	// contains filtered or unexported fields
}

MockChatServiceServer is a mock of ChatServiceServer interface.

func NewMockChatServiceServer

func NewMockChatServiceServer(ctrl *gomock.Controller) *MockChatServiceServer

NewMockChatServiceServer creates a new mock instance.

func (*MockChatServiceServer) CreateMessage

CreateMessage mocks base method.

func (*MockChatServiceServer) CreateRoom

CreateRoom mocks base method.

func (*MockChatServiceServer) EXPECT

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

func (*MockChatServiceServer) ListRoom

ListRoom mocks base method.

func (*MockChatServiceServer) UploadImage

UploadImage mocks base method.

type MockChatServiceServerMockRecorder

type MockChatServiceServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockChatServiceServerMockRecorder is the mock recorder for MockChatServiceServer.

func (*MockChatServiceServerMockRecorder) CreateMessage

func (mr *MockChatServiceServerMockRecorder) CreateMessage(arg0, arg1 interface{}) *gomock.Call

CreateMessage indicates an expected call of CreateMessage.

func (*MockChatServiceServerMockRecorder) CreateRoom

func (mr *MockChatServiceServerMockRecorder) CreateRoom(arg0, arg1 interface{}) *gomock.Call

CreateRoom indicates an expected call of CreateRoom.

func (*MockChatServiceServerMockRecorder) ListRoom

func (mr *MockChatServiceServerMockRecorder) ListRoom(arg0, arg1 interface{}) *gomock.Call

ListRoom indicates an expected call of ListRoom.

func (*MockChatServiceServerMockRecorder) UploadImage

func (mr *MockChatServiceServerMockRecorder) UploadImage(arg0 interface{}) *gomock.Call

UploadImage indicates an expected call of UploadImage.

type MockChatService_UploadImageClient

type MockChatService_UploadImageClient struct {
	// contains filtered or unexported fields
}

MockChatService_UploadImageClient is a mock of ChatService_UploadImageClient interface.

func NewMockChatService_UploadImageClient

func NewMockChatService_UploadImageClient(ctrl *gomock.Controller) *MockChatService_UploadImageClient

NewMockChatService_UploadImageClient creates a new mock instance.

func (*MockChatService_UploadImageClient) CloseAndRecv

CloseAndRecv mocks base method.

func (*MockChatService_UploadImageClient) CloseSend

CloseSend mocks base method.

func (*MockChatService_UploadImageClient) Context

Context mocks base method.

func (*MockChatService_UploadImageClient) EXPECT

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

func (*MockChatService_UploadImageClient) Header

Header mocks base method.

func (*MockChatService_UploadImageClient) RecvMsg

func (m_2 *MockChatService_UploadImageClient) RecvMsg(m interface{}) error

RecvMsg mocks base method.

func (*MockChatService_UploadImageClient) Send

Send mocks base method.

func (*MockChatService_UploadImageClient) SendMsg

func (m_2 *MockChatService_UploadImageClient) SendMsg(m interface{}) error

SendMsg mocks base method.

func (*MockChatService_UploadImageClient) Trailer

Trailer mocks base method.

type MockChatService_UploadImageClientMockRecorder

type MockChatService_UploadImageClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockChatService_UploadImageClientMockRecorder is the mock recorder for MockChatService_UploadImageClient.

func (*MockChatService_UploadImageClientMockRecorder) CloseAndRecv

CloseAndRecv indicates an expected call of CloseAndRecv.

func (*MockChatService_UploadImageClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend.

func (*MockChatService_UploadImageClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockChatService_UploadImageClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockChatService_UploadImageClientMockRecorder) RecvMsg

func (mr *MockChatService_UploadImageClientMockRecorder) RecvMsg(m interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg.

func (*MockChatService_UploadImageClientMockRecorder) Send

func (mr *MockChatService_UploadImageClientMockRecorder) Send(arg0 interface{}) *gomock.Call

Send indicates an expected call of Send.

func (*MockChatService_UploadImageClientMockRecorder) SendMsg

func (mr *MockChatService_UploadImageClientMockRecorder) SendMsg(m interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg.

func (*MockChatService_UploadImageClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer.

type MockChatService_UploadImageServer

type MockChatService_UploadImageServer struct {
	// contains filtered or unexported fields
}

MockChatService_UploadImageServer is a mock of ChatService_UploadImageServer interface.

func NewMockChatService_UploadImageServer

func NewMockChatService_UploadImageServer(ctrl *gomock.Controller) *MockChatService_UploadImageServer

NewMockChatService_UploadImageServer creates a new mock instance.

func (*MockChatService_UploadImageServer) Context

Context mocks base method.

func (*MockChatService_UploadImageServer) EXPECT

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

func (*MockChatService_UploadImageServer) Recv

Recv mocks base method.

func (*MockChatService_UploadImageServer) RecvMsg

func (m_2 *MockChatService_UploadImageServer) RecvMsg(m interface{}) error

RecvMsg mocks base method.

func (*MockChatService_UploadImageServer) SendAndClose

SendAndClose mocks base method.

func (*MockChatService_UploadImageServer) SendHeader

func (m *MockChatService_UploadImageServer) SendHeader(arg0 metadata.MD) error

SendHeader mocks base method.

func (*MockChatService_UploadImageServer) SendMsg

func (m_2 *MockChatService_UploadImageServer) SendMsg(m interface{}) error

SendMsg mocks base method.

func (*MockChatService_UploadImageServer) SetHeader

SetHeader mocks base method.

func (*MockChatService_UploadImageServer) SetTrailer

func (m *MockChatService_UploadImageServer) SetTrailer(arg0 metadata.MD)

SetTrailer mocks base method.

type MockChatService_UploadImageServerMockRecorder

type MockChatService_UploadImageServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockChatService_UploadImageServerMockRecorder is the mock recorder for MockChatService_UploadImageServer.

func (*MockChatService_UploadImageServerMockRecorder) Context

Context indicates an expected call of Context.

func (*MockChatService_UploadImageServerMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockChatService_UploadImageServerMockRecorder) RecvMsg

func (mr *MockChatService_UploadImageServerMockRecorder) RecvMsg(m interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg.

func (*MockChatService_UploadImageServerMockRecorder) SendAndClose

func (mr *MockChatService_UploadImageServerMockRecorder) SendAndClose(arg0 interface{}) *gomock.Call

SendAndClose indicates an expected call of SendAndClose.

func (*MockChatService_UploadImageServerMockRecorder) SendHeader

func (mr *MockChatService_UploadImageServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call

SendHeader indicates an expected call of SendHeader.

func (*MockChatService_UploadImageServerMockRecorder) SendMsg

func (mr *MockChatService_UploadImageServerMockRecorder) SendMsg(m interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg.

func (*MockChatService_UploadImageServerMockRecorder) SetHeader

func (mr *MockChatService_UploadImageServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call

SetHeader indicates an expected call of SetHeader.

func (*MockChatService_UploadImageServerMockRecorder) SetTrailer

func (mr *MockChatService_UploadImageServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call

SetTrailer indicates an expected call of SetTrailer.

type MockUnsafeChatServiceServer

type MockUnsafeChatServiceServer struct {
	// contains filtered or unexported fields
}

MockUnsafeChatServiceServer is a mock of UnsafeChatServiceServer interface.

func NewMockUnsafeChatServiceServer

func NewMockUnsafeChatServiceServer(ctrl *gomock.Controller) *MockUnsafeChatServiceServer

NewMockUnsafeChatServiceServer creates a new mock instance.

func (*MockUnsafeChatServiceServer) EXPECT

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

type MockUnsafeChatServiceServerMockRecorder

type MockUnsafeChatServiceServerMockRecorder struct {
	// contains filtered or unexported fields
}

MockUnsafeChatServiceServerMockRecorder is the mock recorder for MockUnsafeChatServiceServer.

Jump to

Keyboard shortcuts

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