mocks

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockServer

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

MockServer is a mock of Server interface.

func NewMockServer

func NewMockServer(ctrl *gomock.Controller) *MockServer

NewMockServer creates a new mock instance.

func (*MockServer) EXPECT

func (m *MockServer) EXPECT() *MockServerMockRecorder

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

func (*MockServer) RegisterService

func (m *MockServer) RegisterService(registration grpcserver.ServiceRegistration, svc any)

RegisterService mocks base method.

func (*MockServer) Start

func (m *MockServer) Start(arg0 context.Context) error

Start mocks base method.

func (*MockServer) Stop

func (m *MockServer) Stop(arg0 context.Context) error

Stop mocks base method.

type MockServerMockRecorder

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

MockServerMockRecorder is the mock recorder for MockServer.

func (*MockServerMockRecorder) RegisterService

func (mr *MockServerMockRecorder) RegisterService(registration, svc any) *gomock.Call

RegisterService indicates an expected call of RegisterService.

func (*MockServerMockRecorder) Start

func (mr *MockServerMockRecorder) Start(arg0 any) *gomock.Call

Start indicates an expected call of Start.

func (*MockServerMockRecorder) Stop

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

Stop indicates an expected call of Stop.

Jump to

Keyboard shortcuts

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