server

package
v9.0.0-...-13fa046 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package server is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockController

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

MockController is a mock of Controller interface.

func NewMockController

func NewMockController(ctrl *gomock.Controller) *MockController

NewMockController creates a new mock instance.

func (*MockController) CreateBook

func (m *MockController) CreateBook(ctx context.Context, i *v9.Book) (*v9.Book, error)

CreateBook mocks base method.

func (*MockController) EXPECT

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

func (*MockController) GetAuthors

GetAuthors mocks base method.

func (*MockController) GetAuthorsWithPut

GetAuthorsWithPut mocks base method.

func (*MockController) GetBookByID

func (m *MockController) GetBookByID(ctx context.Context, i *v9.GetBookByIDInput) (*v9.Book, error)

GetBookByID mocks base method.

func (*MockController) GetBookByID2

func (m *MockController) GetBookByID2(ctx context.Context, id string) (*v9.Book, error)

GetBookByID2 mocks base method.

func (*MockController) GetBooks

func (m *MockController) GetBooks(ctx context.Context, i *v9.GetBooksInput) ([]v9.Book, int64, error)

GetBooks mocks base method.

func (*MockController) HealthCheck

func (m *MockController) HealthCheck(ctx context.Context) error

HealthCheck mocks base method.

func (*MockController) PutBook

func (m *MockController) PutBook(ctx context.Context, i *v9.Book) (*v9.Book, error)

PutBook mocks base method.

type MockControllerMockRecorder

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

MockControllerMockRecorder is the mock recorder for MockController.

func (*MockControllerMockRecorder) CreateBook

func (mr *MockControllerMockRecorder) CreateBook(ctx, i interface{}) *gomock.Call

CreateBook indicates an expected call of CreateBook.

func (*MockControllerMockRecorder) GetAuthors

func (mr *MockControllerMockRecorder) GetAuthors(ctx, i interface{}) *gomock.Call

GetAuthors indicates an expected call of GetAuthors.

func (*MockControllerMockRecorder) GetAuthorsWithPut

func (mr *MockControllerMockRecorder) GetAuthorsWithPut(ctx, i interface{}) *gomock.Call

GetAuthorsWithPut indicates an expected call of GetAuthorsWithPut.

func (*MockControllerMockRecorder) GetBookByID

func (mr *MockControllerMockRecorder) GetBookByID(ctx, i interface{}) *gomock.Call

GetBookByID indicates an expected call of GetBookByID.

func (*MockControllerMockRecorder) GetBookByID2

func (mr *MockControllerMockRecorder) GetBookByID2(ctx, id interface{}) *gomock.Call

GetBookByID2 indicates an expected call of GetBookByID2.

func (*MockControllerMockRecorder) GetBooks

func (mr *MockControllerMockRecorder) GetBooks(ctx, i interface{}) *gomock.Call

GetBooks indicates an expected call of GetBooks.

func (*MockControllerMockRecorder) HealthCheck

func (mr *MockControllerMockRecorder) HealthCheck(ctx interface{}) *gomock.Call

HealthCheck indicates an expected call of HealthCheck.

func (*MockControllerMockRecorder) PutBook

func (mr *MockControllerMockRecorder) PutBook(ctx, i interface{}) *gomock.Call

PutBook indicates an expected call of PutBook.

Directories

Path Synopsis
Package server is a generated GoMock package.
Package server is a generated GoMock package.

Jump to

Keyboard shortcuts

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