mock_query

package
v0.0.0-debug-20260702 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_query is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockQueryService

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

MockQueryService is a mock of QueryService interface.

func NewMockQueryService

func NewMockQueryService(ctrl *gomock.Controller) *MockQueryService

NewMockQueryService creates a new mock instance.

func (*MockQueryService) AddHandleFunc

func (m *MockQueryService) AddHandleFunc(method query.CmdMethod, h func(context.Context, *query.Request, *query.Response, *morpc.Buffer) error, async bool)

AddHandleFunc mocks base method.

func (*MockQueryService) Close

func (m *MockQueryService) Close() error

Close mocks base method.

func (*MockQueryService) EXPECT

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

func (*MockQueryService) ServiceID

func (m *MockQueryService) ServiceID() string

ServiceID mocks base method.

func (*MockQueryService) SetReleaseFunc

func (m *MockQueryService) SetReleaseFunc(resp *query.Response, f func())

SetReleaseFunc mocks base method.

func (*MockQueryService) Start

func (m *MockQueryService) Start() error

Start mocks base method.

type MockQueryServiceMockRecorder

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

MockQueryServiceMockRecorder is the mock recorder for MockQueryService.

func (*MockQueryServiceMockRecorder) AddHandleFunc

func (mr *MockQueryServiceMockRecorder) AddHandleFunc(method, h, async any) *gomock.Call

AddHandleFunc indicates an expected call of AddHandleFunc.

func (*MockQueryServiceMockRecorder) Close

Close indicates an expected call of Close.

func (*MockQueryServiceMockRecorder) ServiceID

func (mr *MockQueryServiceMockRecorder) ServiceID() *gomock.Call

ServiceID indicates an expected call of ServiceID.

func (*MockQueryServiceMockRecorder) SetReleaseFunc

func (mr *MockQueryServiceMockRecorder) SetReleaseFunc(resp, f any) *gomock.Call

SetReleaseFunc indicates an expected call of SetReleaseFunc.

func (*MockQueryServiceMockRecorder) Start

Start indicates an expected call of Start.

Jump to

Keyboard shortcuts

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