Documentation ¶
Overview ¶
Package mock_book is a generated GoMock package.
Index ¶
- type MockBookServiceClient
- func (m *MockBookServiceClient) CreateBook(ctx context.Context, in *book.CreateBookRequest, opts ...grpc.CallOption) (*book.BookResponse, error)
- func (m *MockBookServiceClient) DeleteBook(ctx context.Context, in *book.DeleteBookRequest, opts ...grpc.CallOption) (*book.Empty, error)
- func (m *MockBookServiceClient) DeleteBookshelf(ctx context.Context, in *book.DeleteBookshelfRequest, opts ...grpc.CallOption) (*book.Empty, error)
- func (m *MockBookServiceClient) EXPECT() *MockBookServiceClientMockRecorder
- func (m *MockBookServiceClient) GetBook(ctx context.Context, in *book.GetBookRequest, opts ...grpc.CallOption) (*book.BookResponse, error)
- func (m *MockBookServiceClient) GetBookByIsbn(ctx context.Context, in *book.GetBookByIsbnRequest, opts ...grpc.CallOption) (*book.BookResponse, error)
- func (m *MockBookServiceClient) GetBookshelf(ctx context.Context, in *book.GetBookshelfRequest, opts ...grpc.CallOption) (*book.BookshelfResponse, error)
- func (m *MockBookServiceClient) GetReview(ctx context.Context, in *book.GetReviewRequest, opts ...grpc.CallOption) (*book.ReviewResponse, error)
- func (m *MockBookServiceClient) ListBookReview(ctx context.Context, in *book.ListBookReviewRequest, opts ...grpc.CallOption) (*book.ReviewListResponse, error)
- func (m *MockBookServiceClient) ListBookshelf(ctx context.Context, in *book.ListBookshelfRequest, opts ...grpc.CallOption) (*book.BookshelfListResponse, error)
- func (m *MockBookServiceClient) ListUserMonthlyResult(ctx context.Context, in *book.ListUserMonthlyResultRequest, ...) (*book.UserMonthlyResultListResponse, error)
- func (m *MockBookServiceClient) ListUserReview(ctx context.Context, in *book.ListUserReviewRequest, opts ...grpc.CallOption) (*book.ReviewListResponse, error)
- func (m *MockBookServiceClient) MultiGetBooks(ctx context.Context, in *book.MultiGetBooksRequest, opts ...grpc.CallOption) (*book.BookListResponse, error)
- func (m *MockBookServiceClient) ReadBookshelf(ctx context.Context, in *book.ReadBookshelfRequest, opts ...grpc.CallOption) (*book.BookshelfResponse, error)
- func (m *MockBookServiceClient) ReadingBookshelf(ctx context.Context, in *book.ReadingBookshelfRequest, opts ...grpc.CallOption) (*book.BookshelfResponse, error)
- func (m *MockBookServiceClient) ReleaseBookshelf(ctx context.Context, in *book.ReleaseBookshelfRequest, opts ...grpc.CallOption) (*book.BookshelfResponse, error)
- func (m *MockBookServiceClient) StackedBookshelf(ctx context.Context, in *book.StackedBookshelfRequest, opts ...grpc.CallOption) (*book.BookshelfResponse, error)
- func (m *MockBookServiceClient) UpdateBook(ctx context.Context, in *book.UpdateBookRequest, opts ...grpc.CallOption) (*book.BookResponse, error)
- func (m *MockBookServiceClient) WantBookshelf(ctx context.Context, in *book.WantBookshelfRequest, opts ...grpc.CallOption) (*book.BookshelfResponse, error)
- type MockBookServiceClientMockRecorder
- func (mr *MockBookServiceClientMockRecorder) CreateBook(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBookServiceClientMockRecorder) DeleteBook(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBookServiceClientMockRecorder) DeleteBookshelf(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBookServiceClientMockRecorder) GetBook(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBookServiceClientMockRecorder) GetBookByIsbn(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBookServiceClientMockRecorder) GetBookshelf(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBookServiceClientMockRecorder) GetReview(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBookServiceClientMockRecorder) ListBookReview(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBookServiceClientMockRecorder) ListBookshelf(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBookServiceClientMockRecorder) ListUserMonthlyResult(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBookServiceClientMockRecorder) ListUserReview(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBookServiceClientMockRecorder) MultiGetBooks(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBookServiceClientMockRecorder) ReadBookshelf(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBookServiceClientMockRecorder) ReadingBookshelf(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBookServiceClientMockRecorder) ReleaseBookshelf(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBookServiceClientMockRecorder) StackedBookshelf(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBookServiceClientMockRecorder) UpdateBook(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockBookServiceClientMockRecorder) WantBookshelf(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockBookServiceServer
- func (m *MockBookServiceServer) CreateBook(arg0 context.Context, arg1 *book.CreateBookRequest) (*book.BookResponse, error)
- func (m *MockBookServiceServer) DeleteBook(arg0 context.Context, arg1 *book.DeleteBookRequest) (*book.Empty, error)
- func (m *MockBookServiceServer) DeleteBookshelf(arg0 context.Context, arg1 *book.DeleteBookshelfRequest) (*book.Empty, error)
- func (m *MockBookServiceServer) EXPECT() *MockBookServiceServerMockRecorder
- func (m *MockBookServiceServer) GetBook(arg0 context.Context, arg1 *book.GetBookRequest) (*book.BookResponse, error)
- func (m *MockBookServiceServer) GetBookByIsbn(arg0 context.Context, arg1 *book.GetBookByIsbnRequest) (*book.BookResponse, error)
- func (m *MockBookServiceServer) GetBookshelf(arg0 context.Context, arg1 *book.GetBookshelfRequest) (*book.BookshelfResponse, error)
- func (m *MockBookServiceServer) GetReview(arg0 context.Context, arg1 *book.GetReviewRequest) (*book.ReviewResponse, error)
- func (m *MockBookServiceServer) ListBookReview(arg0 context.Context, arg1 *book.ListBookReviewRequest) (*book.ReviewListResponse, error)
- func (m *MockBookServiceServer) ListBookshelf(arg0 context.Context, arg1 *book.ListBookshelfRequest) (*book.BookshelfListResponse, error)
- func (m *MockBookServiceServer) ListUserMonthlyResult(arg0 context.Context, arg1 *book.ListUserMonthlyResultRequest) (*book.UserMonthlyResultListResponse, error)
- func (m *MockBookServiceServer) ListUserReview(arg0 context.Context, arg1 *book.ListUserReviewRequest) (*book.ReviewListResponse, error)
- func (m *MockBookServiceServer) MultiGetBooks(arg0 context.Context, arg1 *book.MultiGetBooksRequest) (*book.BookListResponse, error)
- func (m *MockBookServiceServer) ReadBookshelf(arg0 context.Context, arg1 *book.ReadBookshelfRequest) (*book.BookshelfResponse, error)
- func (m *MockBookServiceServer) ReadingBookshelf(arg0 context.Context, arg1 *book.ReadingBookshelfRequest) (*book.BookshelfResponse, error)
- func (m *MockBookServiceServer) ReleaseBookshelf(arg0 context.Context, arg1 *book.ReleaseBookshelfRequest) (*book.BookshelfResponse, error)
- func (m *MockBookServiceServer) StackedBookshelf(arg0 context.Context, arg1 *book.StackedBookshelfRequest) (*book.BookshelfResponse, error)
- func (m *MockBookServiceServer) UpdateBook(arg0 context.Context, arg1 *book.UpdateBookRequest) (*book.BookResponse, error)
- func (m *MockBookServiceServer) WantBookshelf(arg0 context.Context, arg1 *book.WantBookshelfRequest) (*book.BookshelfResponse, error)
- type MockBookServiceServerMockRecorder
- func (mr *MockBookServiceServerMockRecorder) CreateBook(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBookServiceServerMockRecorder) DeleteBook(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBookServiceServerMockRecorder) DeleteBookshelf(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBookServiceServerMockRecorder) GetBook(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBookServiceServerMockRecorder) GetBookByIsbn(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBookServiceServerMockRecorder) GetBookshelf(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBookServiceServerMockRecorder) GetReview(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBookServiceServerMockRecorder) ListBookReview(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBookServiceServerMockRecorder) ListBookshelf(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBookServiceServerMockRecorder) ListUserMonthlyResult(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBookServiceServerMockRecorder) ListUserReview(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBookServiceServerMockRecorder) MultiGetBooks(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBookServiceServerMockRecorder) ReadBookshelf(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBookServiceServerMockRecorder) ReadingBookshelf(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBookServiceServerMockRecorder) ReleaseBookshelf(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBookServiceServerMockRecorder) StackedBookshelf(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBookServiceServerMockRecorder) UpdateBook(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBookServiceServerMockRecorder) WantBookshelf(arg0, arg1 interface{}) *gomock.Call
- type MockUnsafeBookServiceServer
- type MockUnsafeBookServiceServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBookServiceClient ¶
type MockBookServiceClient struct {
// contains filtered or unexported fields
}
MockBookServiceClient is a mock of BookServiceClient interface.
func NewMockBookServiceClient ¶
func NewMockBookServiceClient(ctrl *gomock.Controller) *MockBookServiceClient
NewMockBookServiceClient creates a new mock instance.
func (*MockBookServiceClient) CreateBook ¶
func (m *MockBookServiceClient) CreateBook(ctx context.Context, in *book.CreateBookRequest, opts ...grpc.CallOption) (*book.BookResponse, error)
CreateBook mocks base method.
func (*MockBookServiceClient) DeleteBook ¶
func (m *MockBookServiceClient) DeleteBook(ctx context.Context, in *book.DeleteBookRequest, opts ...grpc.CallOption) (*book.Empty, error)
DeleteBook mocks base method.
func (*MockBookServiceClient) DeleteBookshelf ¶
func (m *MockBookServiceClient) DeleteBookshelf(ctx context.Context, in *book.DeleteBookshelfRequest, opts ...grpc.CallOption) (*book.Empty, error)
DeleteBookshelf mocks base method.
func (*MockBookServiceClient) EXPECT ¶
func (m *MockBookServiceClient) EXPECT() *MockBookServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBookServiceClient) GetBook ¶
func (m *MockBookServiceClient) GetBook(ctx context.Context, in *book.GetBookRequest, opts ...grpc.CallOption) (*book.BookResponse, error)
GetBook mocks base method.
func (*MockBookServiceClient) GetBookByIsbn ¶
func (m *MockBookServiceClient) GetBookByIsbn(ctx context.Context, in *book.GetBookByIsbnRequest, opts ...grpc.CallOption) (*book.BookResponse, error)
GetBookByIsbn mocks base method.
func (*MockBookServiceClient) GetBookshelf ¶
func (m *MockBookServiceClient) GetBookshelf(ctx context.Context, in *book.GetBookshelfRequest, opts ...grpc.CallOption) (*book.BookshelfResponse, error)
GetBookshelf mocks base method.
func (*MockBookServiceClient) GetReview ¶
func (m *MockBookServiceClient) GetReview(ctx context.Context, in *book.GetReviewRequest, opts ...grpc.CallOption) (*book.ReviewResponse, error)
GetReview mocks base method.
func (*MockBookServiceClient) ListBookReview ¶
func (m *MockBookServiceClient) ListBookReview(ctx context.Context, in *book.ListBookReviewRequest, opts ...grpc.CallOption) (*book.ReviewListResponse, error)
ListBookReview mocks base method.
func (*MockBookServiceClient) ListBookshelf ¶
func (m *MockBookServiceClient) ListBookshelf(ctx context.Context, in *book.ListBookshelfRequest, opts ...grpc.CallOption) (*book.BookshelfListResponse, error)
ListBookshelf mocks base method.
func (*MockBookServiceClient) ListUserMonthlyResult ¶
func (m *MockBookServiceClient) ListUserMonthlyResult(ctx context.Context, in *book.ListUserMonthlyResultRequest, opts ...grpc.CallOption) (*book.UserMonthlyResultListResponse, error)
ListUserMonthlyResult mocks base method.
func (*MockBookServiceClient) ListUserReview ¶
func (m *MockBookServiceClient) ListUserReview(ctx context.Context, in *book.ListUserReviewRequest, opts ...grpc.CallOption) (*book.ReviewListResponse, error)
ListUserReview mocks base method.
func (*MockBookServiceClient) MultiGetBooks ¶
func (m *MockBookServiceClient) MultiGetBooks(ctx context.Context, in *book.MultiGetBooksRequest, opts ...grpc.CallOption) (*book.BookListResponse, error)
MultiGetBooks mocks base method.
func (*MockBookServiceClient) ReadBookshelf ¶
func (m *MockBookServiceClient) ReadBookshelf(ctx context.Context, in *book.ReadBookshelfRequest, opts ...grpc.CallOption) (*book.BookshelfResponse, error)
ReadBookshelf mocks base method.
func (*MockBookServiceClient) ReadingBookshelf ¶
func (m *MockBookServiceClient) ReadingBookshelf(ctx context.Context, in *book.ReadingBookshelfRequest, opts ...grpc.CallOption) (*book.BookshelfResponse, error)
ReadingBookshelf mocks base method.
func (*MockBookServiceClient) ReleaseBookshelf ¶
func (m *MockBookServiceClient) ReleaseBookshelf(ctx context.Context, in *book.ReleaseBookshelfRequest, opts ...grpc.CallOption) (*book.BookshelfResponse, error)
ReleaseBookshelf mocks base method.
func (*MockBookServiceClient) StackedBookshelf ¶
func (m *MockBookServiceClient) StackedBookshelf(ctx context.Context, in *book.StackedBookshelfRequest, opts ...grpc.CallOption) (*book.BookshelfResponse, error)
StackedBookshelf mocks base method.
func (*MockBookServiceClient) UpdateBook ¶
func (m *MockBookServiceClient) UpdateBook(ctx context.Context, in *book.UpdateBookRequest, opts ...grpc.CallOption) (*book.BookResponse, error)
UpdateBook mocks base method.
func (*MockBookServiceClient) WantBookshelf ¶
func (m *MockBookServiceClient) WantBookshelf(ctx context.Context, in *book.WantBookshelfRequest, opts ...grpc.CallOption) (*book.BookshelfResponse, error)
WantBookshelf mocks base method.
type MockBookServiceClientMockRecorder ¶
type MockBookServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockBookServiceClientMockRecorder is the mock recorder for MockBookServiceClient.
func (*MockBookServiceClientMockRecorder) CreateBook ¶
func (mr *MockBookServiceClientMockRecorder) CreateBook(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateBook indicates an expected call of CreateBook.
func (*MockBookServiceClientMockRecorder) DeleteBook ¶
func (mr *MockBookServiceClientMockRecorder) DeleteBook(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteBook indicates an expected call of DeleteBook.
func (*MockBookServiceClientMockRecorder) DeleteBookshelf ¶
func (mr *MockBookServiceClientMockRecorder) DeleteBookshelf(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteBookshelf indicates an expected call of DeleteBookshelf.
func (*MockBookServiceClientMockRecorder) GetBook ¶
func (mr *MockBookServiceClientMockRecorder) GetBook(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetBook indicates an expected call of GetBook.
func (*MockBookServiceClientMockRecorder) GetBookByIsbn ¶
func (mr *MockBookServiceClientMockRecorder) GetBookByIsbn(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetBookByIsbn indicates an expected call of GetBookByIsbn.
func (*MockBookServiceClientMockRecorder) GetBookshelf ¶
func (mr *MockBookServiceClientMockRecorder) GetBookshelf(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetBookshelf indicates an expected call of GetBookshelf.
func (*MockBookServiceClientMockRecorder) GetReview ¶
func (mr *MockBookServiceClientMockRecorder) GetReview(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetReview indicates an expected call of GetReview.
func (*MockBookServiceClientMockRecorder) ListBookReview ¶
func (mr *MockBookServiceClientMockRecorder) ListBookReview(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListBookReview indicates an expected call of ListBookReview.
func (*MockBookServiceClientMockRecorder) ListBookshelf ¶
func (mr *MockBookServiceClientMockRecorder) ListBookshelf(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListBookshelf indicates an expected call of ListBookshelf.
func (*MockBookServiceClientMockRecorder) ListUserMonthlyResult ¶
func (mr *MockBookServiceClientMockRecorder) ListUserMonthlyResult(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListUserMonthlyResult indicates an expected call of ListUserMonthlyResult.
func (*MockBookServiceClientMockRecorder) ListUserReview ¶
func (mr *MockBookServiceClientMockRecorder) ListUserReview(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListUserReview indicates an expected call of ListUserReview.
func (*MockBookServiceClientMockRecorder) MultiGetBooks ¶
func (mr *MockBookServiceClientMockRecorder) MultiGetBooks(ctx, in interface{}, opts ...interface{}) *gomock.Call
MultiGetBooks indicates an expected call of MultiGetBooks.
func (*MockBookServiceClientMockRecorder) ReadBookshelf ¶
func (mr *MockBookServiceClientMockRecorder) ReadBookshelf(ctx, in interface{}, opts ...interface{}) *gomock.Call
ReadBookshelf indicates an expected call of ReadBookshelf.
func (*MockBookServiceClientMockRecorder) ReadingBookshelf ¶
func (mr *MockBookServiceClientMockRecorder) ReadingBookshelf(ctx, in interface{}, opts ...interface{}) *gomock.Call
ReadingBookshelf indicates an expected call of ReadingBookshelf.
func (*MockBookServiceClientMockRecorder) ReleaseBookshelf ¶
func (mr *MockBookServiceClientMockRecorder) ReleaseBookshelf(ctx, in interface{}, opts ...interface{}) *gomock.Call
ReleaseBookshelf indicates an expected call of ReleaseBookshelf.
func (*MockBookServiceClientMockRecorder) StackedBookshelf ¶
func (mr *MockBookServiceClientMockRecorder) StackedBookshelf(ctx, in interface{}, opts ...interface{}) *gomock.Call
StackedBookshelf indicates an expected call of StackedBookshelf.
func (*MockBookServiceClientMockRecorder) UpdateBook ¶
func (mr *MockBookServiceClientMockRecorder) UpdateBook(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateBook indicates an expected call of UpdateBook.
func (*MockBookServiceClientMockRecorder) WantBookshelf ¶
func (mr *MockBookServiceClientMockRecorder) WantBookshelf(ctx, in interface{}, opts ...interface{}) *gomock.Call
WantBookshelf indicates an expected call of WantBookshelf.
type MockBookServiceServer ¶
type MockBookServiceServer struct {
// contains filtered or unexported fields
}
MockBookServiceServer is a mock of BookServiceServer interface.
func NewMockBookServiceServer ¶
func NewMockBookServiceServer(ctrl *gomock.Controller) *MockBookServiceServer
NewMockBookServiceServer creates a new mock instance.
func (*MockBookServiceServer) CreateBook ¶
func (m *MockBookServiceServer) CreateBook(arg0 context.Context, arg1 *book.CreateBookRequest) (*book.BookResponse, error)
CreateBook mocks base method.
func (*MockBookServiceServer) DeleteBook ¶
func (m *MockBookServiceServer) DeleteBook(arg0 context.Context, arg1 *book.DeleteBookRequest) (*book.Empty, error)
DeleteBook mocks base method.
func (*MockBookServiceServer) DeleteBookshelf ¶
func (m *MockBookServiceServer) DeleteBookshelf(arg0 context.Context, arg1 *book.DeleteBookshelfRequest) (*book.Empty, error)
DeleteBookshelf mocks base method.
func (*MockBookServiceServer) EXPECT ¶
func (m *MockBookServiceServer) EXPECT() *MockBookServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBookServiceServer) GetBook ¶
func (m *MockBookServiceServer) GetBook(arg0 context.Context, arg1 *book.GetBookRequest) (*book.BookResponse, error)
GetBook mocks base method.
func (*MockBookServiceServer) GetBookByIsbn ¶
func (m *MockBookServiceServer) GetBookByIsbn(arg0 context.Context, arg1 *book.GetBookByIsbnRequest) (*book.BookResponse, error)
GetBookByIsbn mocks base method.
func (*MockBookServiceServer) GetBookshelf ¶
func (m *MockBookServiceServer) GetBookshelf(arg0 context.Context, arg1 *book.GetBookshelfRequest) (*book.BookshelfResponse, error)
GetBookshelf mocks base method.
func (*MockBookServiceServer) GetReview ¶
func (m *MockBookServiceServer) GetReview(arg0 context.Context, arg1 *book.GetReviewRequest) (*book.ReviewResponse, error)
GetReview mocks base method.
func (*MockBookServiceServer) ListBookReview ¶
func (m *MockBookServiceServer) ListBookReview(arg0 context.Context, arg1 *book.ListBookReviewRequest) (*book.ReviewListResponse, error)
ListBookReview mocks base method.
func (*MockBookServiceServer) ListBookshelf ¶
func (m *MockBookServiceServer) ListBookshelf(arg0 context.Context, arg1 *book.ListBookshelfRequest) (*book.BookshelfListResponse, error)
ListBookshelf mocks base method.
func (*MockBookServiceServer) ListUserMonthlyResult ¶
func (m *MockBookServiceServer) ListUserMonthlyResult(arg0 context.Context, arg1 *book.ListUserMonthlyResultRequest) (*book.UserMonthlyResultListResponse, error)
ListUserMonthlyResult mocks base method.
func (*MockBookServiceServer) ListUserReview ¶
func (m *MockBookServiceServer) ListUserReview(arg0 context.Context, arg1 *book.ListUserReviewRequest) (*book.ReviewListResponse, error)
ListUserReview mocks base method.
func (*MockBookServiceServer) MultiGetBooks ¶
func (m *MockBookServiceServer) MultiGetBooks(arg0 context.Context, arg1 *book.MultiGetBooksRequest) (*book.BookListResponse, error)
MultiGetBooks mocks base method.
func (*MockBookServiceServer) ReadBookshelf ¶
func (m *MockBookServiceServer) ReadBookshelf(arg0 context.Context, arg1 *book.ReadBookshelfRequest) (*book.BookshelfResponse, error)
ReadBookshelf mocks base method.
func (*MockBookServiceServer) ReadingBookshelf ¶
func (m *MockBookServiceServer) ReadingBookshelf(arg0 context.Context, arg1 *book.ReadingBookshelfRequest) (*book.BookshelfResponse, error)
ReadingBookshelf mocks base method.
func (*MockBookServiceServer) ReleaseBookshelf ¶
func (m *MockBookServiceServer) ReleaseBookshelf(arg0 context.Context, arg1 *book.ReleaseBookshelfRequest) (*book.BookshelfResponse, error)
ReleaseBookshelf mocks base method.
func (*MockBookServiceServer) StackedBookshelf ¶
func (m *MockBookServiceServer) StackedBookshelf(arg0 context.Context, arg1 *book.StackedBookshelfRequest) (*book.BookshelfResponse, error)
StackedBookshelf mocks base method.
func (*MockBookServiceServer) UpdateBook ¶
func (m *MockBookServiceServer) UpdateBook(arg0 context.Context, arg1 *book.UpdateBookRequest) (*book.BookResponse, error)
UpdateBook mocks base method.
func (*MockBookServiceServer) WantBookshelf ¶
func (m *MockBookServiceServer) WantBookshelf(arg0 context.Context, arg1 *book.WantBookshelfRequest) (*book.BookshelfResponse, error)
WantBookshelf mocks base method.
type MockBookServiceServerMockRecorder ¶
type MockBookServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockBookServiceServerMockRecorder is the mock recorder for MockBookServiceServer.
func (*MockBookServiceServerMockRecorder) CreateBook ¶
func (mr *MockBookServiceServerMockRecorder) CreateBook(arg0, arg1 interface{}) *gomock.Call
CreateBook indicates an expected call of CreateBook.
func (*MockBookServiceServerMockRecorder) DeleteBook ¶
func (mr *MockBookServiceServerMockRecorder) DeleteBook(arg0, arg1 interface{}) *gomock.Call
DeleteBook indicates an expected call of DeleteBook.
func (*MockBookServiceServerMockRecorder) DeleteBookshelf ¶
func (mr *MockBookServiceServerMockRecorder) DeleteBookshelf(arg0, arg1 interface{}) *gomock.Call
DeleteBookshelf indicates an expected call of DeleteBookshelf.
func (*MockBookServiceServerMockRecorder) GetBook ¶
func (mr *MockBookServiceServerMockRecorder) GetBook(arg0, arg1 interface{}) *gomock.Call
GetBook indicates an expected call of GetBook.
func (*MockBookServiceServerMockRecorder) GetBookByIsbn ¶
func (mr *MockBookServiceServerMockRecorder) GetBookByIsbn(arg0, arg1 interface{}) *gomock.Call
GetBookByIsbn indicates an expected call of GetBookByIsbn.
func (*MockBookServiceServerMockRecorder) GetBookshelf ¶
func (mr *MockBookServiceServerMockRecorder) GetBookshelf(arg0, arg1 interface{}) *gomock.Call
GetBookshelf indicates an expected call of GetBookshelf.
func (*MockBookServiceServerMockRecorder) GetReview ¶
func (mr *MockBookServiceServerMockRecorder) GetReview(arg0, arg1 interface{}) *gomock.Call
GetReview indicates an expected call of GetReview.
func (*MockBookServiceServerMockRecorder) ListBookReview ¶
func (mr *MockBookServiceServerMockRecorder) ListBookReview(arg0, arg1 interface{}) *gomock.Call
ListBookReview indicates an expected call of ListBookReview.
func (*MockBookServiceServerMockRecorder) ListBookshelf ¶
func (mr *MockBookServiceServerMockRecorder) ListBookshelf(arg0, arg1 interface{}) *gomock.Call
ListBookshelf indicates an expected call of ListBookshelf.
func (*MockBookServiceServerMockRecorder) ListUserMonthlyResult ¶
func (mr *MockBookServiceServerMockRecorder) ListUserMonthlyResult(arg0, arg1 interface{}) *gomock.Call
ListUserMonthlyResult indicates an expected call of ListUserMonthlyResult.
func (*MockBookServiceServerMockRecorder) ListUserReview ¶
func (mr *MockBookServiceServerMockRecorder) ListUserReview(arg0, arg1 interface{}) *gomock.Call
ListUserReview indicates an expected call of ListUserReview.
func (*MockBookServiceServerMockRecorder) MultiGetBooks ¶
func (mr *MockBookServiceServerMockRecorder) MultiGetBooks(arg0, arg1 interface{}) *gomock.Call
MultiGetBooks indicates an expected call of MultiGetBooks.
func (*MockBookServiceServerMockRecorder) ReadBookshelf ¶
func (mr *MockBookServiceServerMockRecorder) ReadBookshelf(arg0, arg1 interface{}) *gomock.Call
ReadBookshelf indicates an expected call of ReadBookshelf.
func (*MockBookServiceServerMockRecorder) ReadingBookshelf ¶
func (mr *MockBookServiceServerMockRecorder) ReadingBookshelf(arg0, arg1 interface{}) *gomock.Call
ReadingBookshelf indicates an expected call of ReadingBookshelf.
func (*MockBookServiceServerMockRecorder) ReleaseBookshelf ¶
func (mr *MockBookServiceServerMockRecorder) ReleaseBookshelf(arg0, arg1 interface{}) *gomock.Call
ReleaseBookshelf indicates an expected call of ReleaseBookshelf.
func (*MockBookServiceServerMockRecorder) StackedBookshelf ¶
func (mr *MockBookServiceServerMockRecorder) StackedBookshelf(arg0, arg1 interface{}) *gomock.Call
StackedBookshelf indicates an expected call of StackedBookshelf.
func (*MockBookServiceServerMockRecorder) UpdateBook ¶
func (mr *MockBookServiceServerMockRecorder) UpdateBook(arg0, arg1 interface{}) *gomock.Call
UpdateBook indicates an expected call of UpdateBook.
func (*MockBookServiceServerMockRecorder) WantBookshelf ¶
func (mr *MockBookServiceServerMockRecorder) WantBookshelf(arg0, arg1 interface{}) *gomock.Call
WantBookshelf indicates an expected call of WantBookshelf.
type MockUnsafeBookServiceServer ¶
type MockUnsafeBookServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafeBookServiceServer is a mock of UnsafeBookServiceServer interface.
func NewMockUnsafeBookServiceServer ¶
func NewMockUnsafeBookServiceServer(ctrl *gomock.Controller) *MockUnsafeBookServiceServer
NewMockUnsafeBookServiceServer creates a new mock instance.
func (*MockUnsafeBookServiceServer) EXPECT ¶
func (m *MockUnsafeBookServiceServer) EXPECT() *MockUnsafeBookServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeBookServiceServerMockRecorder ¶
type MockUnsafeBookServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeBookServiceServerMockRecorder is the mock recorder for MockUnsafeBookServiceServer.