Documentation
¶
Overview ¶
Package mock_product is a generated GoMock package.
Index ¶
- type MockProductServiceClient
- func (m *MockProductServiceClient) EXPECT() *MockProductServiceClientMockRecorder
- func (m *MockProductServiceClient) ListLikes(arg0 context.Context, arg1 *product.ListLikesRequest, arg2 ...grpc.CallOption) (*product.ListLikesResponse, error)
- func (m *MockProductServiceClient) ListSimilars(arg0 context.Context, arg1 *product.ListSimilarsRequest, ...) (*product.ListSimilarsResponse, error)
- type MockProductServiceClientMockRecorder
- type MockProductServiceServer
- func (m *MockProductServiceServer) EXPECT() *MockProductServiceServerMockRecorder
- func (m *MockProductServiceServer) ListLikes(arg0 context.Context, arg1 *product.ListLikesRequest) (*product.ListLikesResponse, error)
- func (m *MockProductServiceServer) ListSimilars(arg0 context.Context, arg1 *product.ListSimilarsRequest) (*product.ListSimilarsResponse, error)
- type MockProductServiceServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockProductServiceClient ¶
type MockProductServiceClient struct {
// contains filtered or unexported fields
}
MockProductServiceClient is a mock of ProductServiceClient interface
func NewMockProductServiceClient ¶
func NewMockProductServiceClient(ctrl *gomock.Controller) *MockProductServiceClient
NewMockProductServiceClient creates a new mock instance
func (*MockProductServiceClient) EXPECT ¶
func (m *MockProductServiceClient) EXPECT() *MockProductServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockProductServiceClient) ListLikes ¶
func (m *MockProductServiceClient) ListLikes(arg0 context.Context, arg1 *product.ListLikesRequest, arg2 ...grpc.CallOption) (*product.ListLikesResponse, error)
ListLikes mocks base method
func (*MockProductServiceClient) ListSimilars ¶
func (m *MockProductServiceClient) ListSimilars(arg0 context.Context, arg1 *product.ListSimilarsRequest, arg2 ...grpc.CallOption) (*product.ListSimilarsResponse, error)
ListSimilars mocks base method
type MockProductServiceClientMockRecorder ¶
type MockProductServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockProductServiceClientMockRecorder is the mock recorder for MockProductServiceClient
func (*MockProductServiceClientMockRecorder) ListLikes ¶
func (mr *MockProductServiceClientMockRecorder) ListLikes(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListLikes indicates an expected call of ListLikes
func (*MockProductServiceClientMockRecorder) ListSimilars ¶
func (mr *MockProductServiceClientMockRecorder) ListSimilars(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListSimilars indicates an expected call of ListSimilars
type MockProductServiceServer ¶
type MockProductServiceServer struct {
// contains filtered or unexported fields
}
MockProductServiceServer is a mock of ProductServiceServer interface
func NewMockProductServiceServer ¶
func NewMockProductServiceServer(ctrl *gomock.Controller) *MockProductServiceServer
NewMockProductServiceServer creates a new mock instance
func (*MockProductServiceServer) EXPECT ¶
func (m *MockProductServiceServer) EXPECT() *MockProductServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockProductServiceServer) ListLikes ¶
func (m *MockProductServiceServer) ListLikes(arg0 context.Context, arg1 *product.ListLikesRequest) (*product.ListLikesResponse, error)
ListLikes mocks base method
func (*MockProductServiceServer) ListSimilars ¶
func (m *MockProductServiceServer) ListSimilars(arg0 context.Context, arg1 *product.ListSimilarsRequest) (*product.ListSimilarsResponse, error)
ListSimilars mocks base method
type MockProductServiceServerMockRecorder ¶
type MockProductServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockProductServiceServerMockRecorder is the mock recorder for MockProductServiceServer
func (*MockProductServiceServerMockRecorder) ListLikes ¶
func (mr *MockProductServiceServerMockRecorder) ListLikes(arg0, arg1 interface{}) *gomock.Call
ListLikes indicates an expected call of ListLikes
func (*MockProductServiceServerMockRecorder) ListSimilars ¶
func (mr *MockProductServiceServerMockRecorder) ListSimilars(arg0, arg1 interface{}) *gomock.Call
ListSimilars indicates an expected call of ListSimilars