Documentation
¶
Overview ¶
Package server is a generated GoMock package.
Index ¶
- type MockController
- func (m *MockController) CreateBook(ctx context.Context, i *v9.Book) (*v9.Book, error)
- func (m *MockController) EXPECT() *MockControllerMockRecorder
- func (m *MockController) GetAuthors(ctx context.Context, i *v9.GetAuthorsInput) (*v9.AuthorsResponse, string, error)
- func (m *MockController) GetAuthorsWithPut(ctx context.Context, i *v9.GetAuthorsWithPutInput) (*v9.AuthorsResponse, string, error)
- func (m *MockController) GetBookByID(ctx context.Context, i *v9.GetBookByIDInput) (*v9.Book, error)
- func (m *MockController) GetBookByID2(ctx context.Context, id string) (*v9.Book, error)
- func (m *MockController) GetBooks(ctx context.Context, i *v9.GetBooksInput) ([]v9.Book, int64, error)
- func (m *MockController) HealthCheck(ctx context.Context) error
- func (m *MockController) PutBook(ctx context.Context, i *v9.Book) (*v9.Book, error)
- type MockControllerMockRecorder
- func (mr *MockControllerMockRecorder) CreateBook(ctx, i interface{}) *gomock.Call
- func (mr *MockControllerMockRecorder) GetAuthors(ctx, i interface{}) *gomock.Call
- func (mr *MockControllerMockRecorder) GetAuthorsWithPut(ctx, i interface{}) *gomock.Call
- func (mr *MockControllerMockRecorder) GetBookByID(ctx, i interface{}) *gomock.Call
- func (mr *MockControllerMockRecorder) GetBookByID2(ctx, id interface{}) *gomock.Call
- func (mr *MockControllerMockRecorder) GetBooks(ctx, i interface{}) *gomock.Call
- func (mr *MockControllerMockRecorder) HealthCheck(ctx interface{}) *gomock.Call
- func (mr *MockControllerMockRecorder) PutBook(ctx, i interface{}) *gomock.Call
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 ¶
CreateBook mocks base method.
func (*MockController) EXPECT ¶
func (m *MockController) EXPECT() *MockControllerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockController) GetAuthors ¶
func (m *MockController) GetAuthors(ctx context.Context, i *v9.GetAuthorsInput) (*v9.AuthorsResponse, string, error)
GetAuthors mocks base method.
func (*MockController) GetAuthorsWithPut ¶
func (m *MockController) GetAuthorsWithPut(ctx context.Context, i *v9.GetAuthorsWithPutInput) (*v9.AuthorsResponse, string, error)
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 ¶
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.
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. |