mock

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

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

Go to latest
Published: Sep 19, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mock 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) EXPECT

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

func (*MockChatServiceClient) Send

Send mocks base method

func (*MockChatServiceClient) Subscribe

Subscribe mocks base method

type MockChatServiceClientMockRecorder

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

MockChatServiceClientMockRecorder is the mock recorder for MockChatServiceClient

func (*MockChatServiceClientMockRecorder) Send

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

Send indicates an expected call of Send

func (*MockChatServiceClientMockRecorder) Subscribe

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

Subscribe indicates an expected call of Subscribe

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) EXPECT

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

func (*MockChatServiceServer) Send

Send mocks base method

func (*MockChatServiceServer) Subscribe

Subscribe mocks base method

type MockChatServiceServerMockRecorder

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

MockChatServiceServerMockRecorder is the mock recorder for MockChatServiceServer

func (*MockChatServiceServerMockRecorder) Send

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

Send indicates an expected call of Send

func (*MockChatServiceServerMockRecorder) Subscribe

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

Subscribe indicates an expected call of Subscribe

type MockChatService_SubscribeClient

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

MockChatService_SubscribeClient is a mock of ChatService_SubscribeClient interface

func NewMockChatService_SubscribeClient

func NewMockChatService_SubscribeClient(ctrl *gomock.Controller) *MockChatService_SubscribeClient

NewMockChatService_SubscribeClient creates a new mock instance

func (*MockChatService_SubscribeClient) CloseSend

func (m *MockChatService_SubscribeClient) CloseSend() error

CloseSend mocks base method

func (*MockChatService_SubscribeClient) Context

Context mocks base method

func (*MockChatService_SubscribeClient) EXPECT

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

func (*MockChatService_SubscribeClient) Header

Header mocks base method

func (*MockChatService_SubscribeClient) Recv

Recv mocks base method

func (*MockChatService_SubscribeClient) RecvMsg

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

RecvMsg mocks base method

func (*MockChatService_SubscribeClient) SendMsg

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

SendMsg mocks base method

func (*MockChatService_SubscribeClient) Trailer

Trailer mocks base method

type MockChatService_SubscribeClientMockRecorder

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

MockChatService_SubscribeClientMockRecorder is the mock recorder for MockChatService_SubscribeClient

func (*MockChatService_SubscribeClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend

func (*MockChatService_SubscribeClientMockRecorder) Context

Context indicates an expected call of Context

func (*MockChatService_SubscribeClientMockRecorder) Header

Header indicates an expected call of Header

func (*MockChatService_SubscribeClientMockRecorder) Recv

Recv indicates an expected call of Recv

func (*MockChatService_SubscribeClientMockRecorder) RecvMsg

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

RecvMsg indicates an expected call of RecvMsg

func (*MockChatService_SubscribeClientMockRecorder) SendMsg

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

SendMsg indicates an expected call of SendMsg

func (*MockChatService_SubscribeClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer

type MockChatService_SubscribeServer

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

MockChatService_SubscribeServer is a mock of ChatService_SubscribeServer interface

func NewMockChatService_SubscribeServer

func NewMockChatService_SubscribeServer(ctrl *gomock.Controller) *MockChatService_SubscribeServer

NewMockChatService_SubscribeServer creates a new mock instance

func (*MockChatService_SubscribeServer) Context

Context mocks base method

func (*MockChatService_SubscribeServer) EXPECT

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

func (*MockChatService_SubscribeServer) RecvMsg

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

RecvMsg mocks base method

func (*MockChatService_SubscribeServer) Send

Send mocks base method

func (*MockChatService_SubscribeServer) SendHeader

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

SendHeader mocks base method

func (*MockChatService_SubscribeServer) SendMsg

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

SendMsg mocks base method

func (*MockChatService_SubscribeServer) SetHeader

func (m *MockChatService_SubscribeServer) SetHeader(arg0 metadata.MD) error

SetHeader mocks base method

func (*MockChatService_SubscribeServer) SetTrailer

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

SetTrailer mocks base method

type MockChatService_SubscribeServerMockRecorder

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

MockChatService_SubscribeServerMockRecorder is the mock recorder for MockChatService_SubscribeServer

func (*MockChatService_SubscribeServerMockRecorder) Context

Context indicates an expected call of Context

func (*MockChatService_SubscribeServerMockRecorder) RecvMsg

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

RecvMsg indicates an expected call of RecvMsg

func (*MockChatService_SubscribeServerMockRecorder) Send

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

Send indicates an expected call of Send

func (*MockChatService_SubscribeServerMockRecorder) SendHeader

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

SendHeader indicates an expected call of SendHeader

func (*MockChatService_SubscribeServerMockRecorder) SendMsg

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

SendMsg indicates an expected call of SendMsg

func (*MockChatService_SubscribeServerMockRecorder) SetHeader

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

SetHeader indicates an expected call of SetHeader

func (*MockChatService_SubscribeServerMockRecorder) SetTrailer

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

SetTrailer indicates an expected call of SetTrailer

Jump to

Keyboard shortcuts

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