ai

package
v0.0.0-...-49bf833 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package ai is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AIBiz

type AIBiz interface {
	Create(ctx context.Context, r *v1.CreateAIRequest) error
	Get(ctx context.Context, username, postID string) (*v1.GetAIResponse, error)
	Update(ctx context.Context, r *v1.UpdateAIRequest) error
	List(ctx context.Context, username string, offset, limit int) (*v1.ListAIResponse, error)
	Delete(ctx context.Context, username, postID string) error
}

func NewAIBiz

func NewAIBiz(ds store.IStore) AIBiz

type MockAIBiz

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

MockAIBiz is a mock of AIBiz interface.

func NewMockAIBiz

func NewMockAIBiz(ctrl *gomock.Controller) *MockAIBiz

NewMockAIBiz creates a new mock instance.

func (*MockAIBiz) Create

func (m *MockAIBiz) Create(arg0 context.Context, arg1 *v1.CreateAIRequest) error

Create mocks base method.

func (*MockAIBiz) Delete

func (m *MockAIBiz) Delete(arg0 context.Context, arg1, arg2 string) error

Delete mocks base method.

func (*MockAIBiz) EXPECT

func (m *MockAIBiz) EXPECT() *MockAIBizMockRecorder

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

func (*MockAIBiz) Get

func (m *MockAIBiz) Get(arg0 context.Context, arg1, arg2 string) (*v1.GetAIResponse, error)

Get mocks base method.

func (*MockAIBiz) List

func (m *MockAIBiz) List(arg0 context.Context, arg1 string, arg2, arg3 int) (*v1.ListAIResponse, error)

List mocks base method.

func (*MockAIBiz) Update

func (m *MockAIBiz) Update(arg0 context.Context, arg1 *v1.UpdateAIRequest) error

Update mocks base method.

type MockAIBizMockRecorder

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

MockAIBizMockRecorder is the mock recorder for MockAIBiz.

func (*MockAIBizMockRecorder) Create

func (mr *MockAIBizMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockAIBizMockRecorder) Delete

func (mr *MockAIBizMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockAIBizMockRecorder) Get

func (mr *MockAIBizMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockAIBizMockRecorder) List

func (mr *MockAIBizMockRecorder) List(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockAIBizMockRecorder) Update

func (mr *MockAIBizMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

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