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 ¶
func (m *MockSpeechToText) EXPECT() *MockSpeechToTextMockRecorder
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 ¶
func (m *MockTextProcessor) EXPECT() *MockTextProcessorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 ¶
func (m *MockTextToSpeech) EXPECT() *MockTextToSpeechMockRecorder
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.