mocks

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AIService

type AIService struct {
	mock.Mock
}

AIService is an autogenerated mock type for the AIService type

func NewAIService

func NewAIService(t interface {
	mock.TestingT
	Cleanup(func())
}) *AIService

NewAIService creates a new instance of AIService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*AIService) AskAISummaryFromFinding

func (_m *AIService) AskAISummaryFromFinding(ctx context.Context, f *model.Finding, r *model.Recommend, lang string) (string, error)

AskAISummaryFromFinding provides a mock function with given fields: ctx, f, r, lang

func (*AIService) AskAISummaryStreamFromFinding added in v0.10.0

func (_m *AIService) AskAISummaryStreamFromFinding(ctx context.Context, f *model.Finding, r *model.Recommend, lang string, stream finding.FindingService_GetAISummaryStreamServer) error

AskAISummaryStreamFromFinding provides a mock function with given fields: ctx, f, r, lang, stream

Jump to

Keyboard shortcuts

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