mocks

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2025 License: MIT Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 MockSpeechToText

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

MockSpeechToText is a mock of SpeechToText interface.

func NewMockSpeechToText

func NewMockSpeechToText(ctrl *gomock.Controller) *MockSpeechToText

NewMockSpeechToText creates a new mock instance.

func (*MockSpeechToText) EXPECT

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

func (*MockSpeechToText) Transcribe

func (m *MockSpeechToText) Transcribe(ctx context.Context, r <-chan pkg.AudioChunk) (<-chan pkg.SpeechChunk, error)

Transcribe mocks base method.

type MockSpeechToTextMockRecorder

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

MockSpeechToTextMockRecorder is the mock recorder for MockSpeechToText.

func (*MockSpeechToTextMockRecorder) Transcribe

func (mr *MockSpeechToTextMockRecorder) Transcribe(ctx, r interface{}) *gomock.Call

Transcribe indicates an expected call of Transcribe.

type MockTextProcessor

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

MockTextProcessor is a mock of TextProcessor interface.

func NewMockTextProcessor

func NewMockTextProcessor(ctrl *gomock.Controller) *MockTextProcessor

NewMockTextProcessor creates a new mock instance.

func (*MockTextProcessor) EXPECT

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

func (*MockTextProcessor) Process

func (m *MockTextProcessor) Process(ctx context.Context, question <-chan pkg.TextChunk) (<-chan pkg.TextChunk, error)

Process mocks base method.

type MockTextProcessorMockRecorder

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

MockTextProcessorMockRecorder is the mock recorder for MockTextProcessor.

func (*MockTextProcessorMockRecorder) Process

func (mr *MockTextProcessorMockRecorder) Process(ctx, question interface{}) *gomock.Call

Process indicates an expected call of Process.

type MockTextToSpeech

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

MockTextToSpeech is a mock of TextToSpeech interface.

func NewMockTextToSpeech

func NewMockTextToSpeech(ctrl *gomock.Controller) *MockTextToSpeech

NewMockTextToSpeech creates a new mock instance.

func (*MockTextToSpeech) EXPECT

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

func (*MockTextToSpeech) Synthesize

func (m *MockTextToSpeech) Synthesize(ctx context.Context, text <-chan pkg.TextChunk) (<-chan pkg.AudioChunk, error)

Synthesize mocks base method.

type MockTextToSpeechMockRecorder

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

MockTextToSpeechMockRecorder is the mock recorder for MockTextToSpeech.

func (*MockTextToSpeechMockRecorder) Synthesize

func (mr *MockTextToSpeechMockRecorder) Synthesize(ctx, text interface{}) *gomock.Call

Synthesize indicates an expected call of Synthesize.

Jump to

Keyboard shortcuts

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