mockgrpc

package
Version: v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mockgrpc is a generated GoMock package.

Package mockgrpc is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockServer added in v0.6.0

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

MockServer is a mock of Server interface.

func NewMockServer added in v0.6.0

func NewMockServer(ctrl *gomock.Controller) *MockServer

NewMockServer creates a new mock instance.

func (*MockServer) EXPECT added in v0.6.0

func (m *MockServer) EXPECT() *MockServerMockRecorder

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

func (*MockServer) Register added in v0.6.0

func (m *MockServer) Register(arg0 []grpc.Service)

Register mocks base method.

func (*MockServer) Serve added in v0.6.0

func (m *MockServer) Serve(arg0 chan<- error)

Serve mocks base method.

func (*MockServer) Stop added in v0.6.0

func (m *MockServer) Stop()

Stop mocks base method.

type MockServerMockRecorder added in v0.6.0

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

MockServerMockRecorder is the mock recorder for MockServer.

func (*MockServerMockRecorder) Register added in v0.6.0

func (mr *MockServerMockRecorder) Register(arg0 interface{}) *gomock.Call

Register indicates an expected call of Register.

func (*MockServerMockRecorder) Serve added in v0.6.0

func (mr *MockServerMockRecorder) Serve(arg0 interface{}) *gomock.Call

Serve indicates an expected call of Serve.

func (*MockServerMockRecorder) Stop added in v0.6.0

func (mr *MockServerMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop.

type MockService

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

MockService is a mock of Service interface.

func NewMockService

func NewMockService(ctrl *gomock.Controller) *MockService

NewMockService creates a new mock instance.

func (*MockService) EXPECT

func (m *MockService) EXPECT() *MockServiceMockRecorder

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

func (*MockService) LogFields

func (m *MockService) LogFields() map[string]interface{}

LogFields mocks base method.

func (*MockService) Register

func (m *MockService) Register(arg0 *grpc.Server)

Register mocks base method.

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService.

func (*MockServiceMockRecorder) LogFields

func (mr *MockServiceMockRecorder) LogFields() *gomock.Call

LogFields indicates an expected call of LogFields.

func (*MockServiceMockRecorder) Register

func (mr *MockServiceMockRecorder) Register(arg0 interface{}) *gomock.Call

Register indicates an expected call of Register.

Jump to

Keyboard shortcuts

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