Documentation ¶
Overview ¶
Package mock_proto_gen is a generated GoMock package.
Index ¶
- type MockProductInfoClient
- func (m *MockProductInfoClient) AddProduct(arg0 context.Context, arg1 *proto_gen.Product, arg2 ...grpc.CallOption) (*wrappers.StringValue, error)
- func (m *MockProductInfoClient) EXPECT() *MockProductInfoClientMockRecorder
- func (m *MockProductInfoClient) GetProduct(arg0 context.Context, arg1 *wrappers.StringValue, arg2 ...grpc.CallOption) (*proto_gen.Product, error)
- type MockProductInfoClientMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockProductInfoClient ¶
type MockProductInfoClient struct {
// contains filtered or unexported fields
}
MockProductInfoClient is a mock of ProductInfoClient interface
func NewMockProductInfoClient ¶
func NewMockProductInfoClient(ctrl *gomock.Controller) *MockProductInfoClient
NewMockProductInfoClient creates a new mock instance
func (*MockProductInfoClient) AddProduct ¶
func (m *MockProductInfoClient) AddProduct(arg0 context.Context, arg1 *proto_gen.Product, arg2 ...grpc.CallOption) (*wrappers.StringValue, error)
AddProduct mocks base method
func (*MockProductInfoClient) EXPECT ¶
func (m *MockProductInfoClient) EXPECT() *MockProductInfoClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockProductInfoClient) GetProduct ¶
func (m *MockProductInfoClient) GetProduct(arg0 context.Context, arg1 *wrappers.StringValue, arg2 ...grpc.CallOption) (*proto_gen.Product, error)
GetProduct mocks base method
type MockProductInfoClientMockRecorder ¶
type MockProductInfoClientMockRecorder struct {
// contains filtered or unexported fields
}
MockProductInfoClientMockRecorder is the mock recorder for MockProductInfoClient
func (*MockProductInfoClientMockRecorder) AddProduct ¶
func (mr *MockProductInfoClientMockRecorder) AddProduct(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
AddProduct indicates an expected call of AddProduct
func (*MockProductInfoClientMockRecorder) GetProduct ¶
func (mr *MockProductInfoClientMockRecorder) GetProduct(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetProduct indicates an expected call of GetProduct
Click to show internal directories.
Click to hide internal directories.