mockgrpc

package
Version: v0.1.1 Latest Latest
Warning

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

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

Documentation

Overview

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 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.

Source Files

Jump to

Keyboard shortcuts

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