Documentation ¶
Overview ¶
Package mock_grpc is a generated GoMock package.
Index ¶
- type MockProfileClient
- func (m *MockProfileClient) AppendSubByIDs(ctx context.Context, in *grpc.UserIdMerchantIdRequest, ...) (*grpc.AppendSubResponse, error)
- func (m *MockProfileClient) CreateProfile(ctx context.Context, in *grpc.ProfileIDRequest, opts ...grpc0.CallOption) (*grpc.ProfileData, error)
- func (m *MockProfileClient) EXPECT() *MockProfileClientMockRecorder
- func (m *MockProfileClient) EditProfile(ctx context.Context, in *grpc.EditProfileRequest, opts ...grpc0.CallOption) (*grpc.ProfileData, error)
- func (m *MockProfileClient) GetProfile(ctx context.Context, in *grpc.ProfileIDRequest, opts ...grpc0.CallOption) (*grpc.ProfileData, error)
- func (m *MockProfileClient) SetProfileCity(ctx context.Context, in *grpc.SetCityRequest, opts ...grpc0.CallOption) (*grpc.ProfileData, error)
- func (m *MockProfileClient) SetProfilePhone(ctx context.Context, in *grpc.SetPhoneRequest, opts ...grpc0.CallOption) (*grpc.ProfileData, error)
- type MockProfileClientMockRecorder
- func (mr *MockProfileClientMockRecorder) AppendSubByIDs(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProfileClientMockRecorder) CreateProfile(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProfileClientMockRecorder) EditProfile(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProfileClientMockRecorder) GetProfile(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProfileClientMockRecorder) SetProfileCity(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProfileClientMockRecorder) SetProfilePhone(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockProfileServer
- func (m *MockProfileServer) AppendSubByIDs(arg0 context.Context, arg1 *grpc.UserIdMerchantIdRequest) (*grpc.AppendSubResponse, error)
- func (m *MockProfileServer) CreateProfile(arg0 context.Context, arg1 *grpc.ProfileIDRequest) (*grpc.ProfileData, error)
- func (m *MockProfileServer) EXPECT() *MockProfileServerMockRecorder
- func (m *MockProfileServer) EditProfile(arg0 context.Context, arg1 *grpc.EditProfileRequest) (*grpc.ProfileData, error)
- func (m *MockProfileServer) GetProfile(arg0 context.Context, arg1 *grpc.ProfileIDRequest) (*grpc.ProfileData, error)
- func (m *MockProfileServer) SetProfileCity(arg0 context.Context, arg1 *grpc.SetCityRequest) (*grpc.ProfileData, error)
- func (m *MockProfileServer) SetProfilePhone(arg0 context.Context, arg1 *grpc.SetPhoneRequest) (*grpc.ProfileData, error)
- type MockProfileServerMockRecorder
- func (mr *MockProfileServerMockRecorder) AppendSubByIDs(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProfileServerMockRecorder) CreateProfile(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProfileServerMockRecorder) EditProfile(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProfileServerMockRecorder) GetProfile(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProfileServerMockRecorder) SetProfileCity(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProfileServerMockRecorder) SetProfilePhone(arg0, arg1 interface{}) *gomock.Call
- type MockUnsafeProfileServer
- type MockUnsafeProfileServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockProfileClient ¶
type MockProfileClient struct {
// contains filtered or unexported fields
}
MockProfileClient is a mock of ProfileClient interface.
func NewMockProfileClient ¶
func NewMockProfileClient(ctrl *gomock.Controller) *MockProfileClient
NewMockProfileClient creates a new mock instance.
func (*MockProfileClient) AppendSubByIDs ¶
func (m *MockProfileClient) AppendSubByIDs(ctx context.Context, in *grpc.UserIdMerchantIdRequest, opts ...grpc0.CallOption) (*grpc.AppendSubResponse, error)
AppendSubByIDs mocks base method.
func (*MockProfileClient) CreateProfile ¶
func (m *MockProfileClient) CreateProfile(ctx context.Context, in *grpc.ProfileIDRequest, opts ...grpc0.CallOption) (*grpc.ProfileData, error)
CreateProfile mocks base method.
func (*MockProfileClient) EXPECT ¶
func (m *MockProfileClient) EXPECT() *MockProfileClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProfileClient) EditProfile ¶
func (m *MockProfileClient) EditProfile(ctx context.Context, in *grpc.EditProfileRequest, opts ...grpc0.CallOption) (*grpc.ProfileData, error)
EditProfile mocks base method.
func (*MockProfileClient) GetProfile ¶
func (m *MockProfileClient) GetProfile(ctx context.Context, in *grpc.ProfileIDRequest, opts ...grpc0.CallOption) (*grpc.ProfileData, error)
GetProfile mocks base method.
func (*MockProfileClient) SetProfileCity ¶
func (m *MockProfileClient) SetProfileCity(ctx context.Context, in *grpc.SetCityRequest, opts ...grpc0.CallOption) (*grpc.ProfileData, error)
SetProfileCity mocks base method.
func (*MockProfileClient) SetProfilePhone ¶
func (m *MockProfileClient) SetProfilePhone(ctx context.Context, in *grpc.SetPhoneRequest, opts ...grpc0.CallOption) (*grpc.ProfileData, error)
SetProfilePhone mocks base method.
type MockProfileClientMockRecorder ¶
type MockProfileClientMockRecorder struct {
// contains filtered or unexported fields
}
MockProfileClientMockRecorder is the mock recorder for MockProfileClient.
func (*MockProfileClientMockRecorder) AppendSubByIDs ¶
func (mr *MockProfileClientMockRecorder) AppendSubByIDs(ctx, in interface{}, opts ...interface{}) *gomock.Call
AppendSubByIDs indicates an expected call of AppendSubByIDs.
func (*MockProfileClientMockRecorder) CreateProfile ¶
func (mr *MockProfileClientMockRecorder) CreateProfile(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateProfile indicates an expected call of CreateProfile.
func (*MockProfileClientMockRecorder) EditProfile ¶
func (mr *MockProfileClientMockRecorder) EditProfile(ctx, in interface{}, opts ...interface{}) *gomock.Call
EditProfile indicates an expected call of EditProfile.
func (*MockProfileClientMockRecorder) GetProfile ¶
func (mr *MockProfileClientMockRecorder) GetProfile(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetProfile indicates an expected call of GetProfile.
func (*MockProfileClientMockRecorder) SetProfileCity ¶
func (mr *MockProfileClientMockRecorder) SetProfileCity(ctx, in interface{}, opts ...interface{}) *gomock.Call
SetProfileCity indicates an expected call of SetProfileCity.
func (*MockProfileClientMockRecorder) SetProfilePhone ¶
func (mr *MockProfileClientMockRecorder) SetProfilePhone(ctx, in interface{}, opts ...interface{}) *gomock.Call
SetProfilePhone indicates an expected call of SetProfilePhone.
type MockProfileServer ¶
type MockProfileServer struct {
// contains filtered or unexported fields
}
MockProfileServer is a mock of ProfileServer interface.
func NewMockProfileServer ¶
func NewMockProfileServer(ctrl *gomock.Controller) *MockProfileServer
NewMockProfileServer creates a new mock instance.
func (*MockProfileServer) AppendSubByIDs ¶
func (m *MockProfileServer) AppendSubByIDs(arg0 context.Context, arg1 *grpc.UserIdMerchantIdRequest) (*grpc.AppendSubResponse, error)
AppendSubByIDs mocks base method.
func (*MockProfileServer) CreateProfile ¶
func (m *MockProfileServer) CreateProfile(arg0 context.Context, arg1 *grpc.ProfileIDRequest) (*grpc.ProfileData, error)
CreateProfile mocks base method.
func (*MockProfileServer) EXPECT ¶
func (m *MockProfileServer) EXPECT() *MockProfileServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProfileServer) EditProfile ¶
func (m *MockProfileServer) EditProfile(arg0 context.Context, arg1 *grpc.EditProfileRequest) (*grpc.ProfileData, error)
EditProfile mocks base method.
func (*MockProfileServer) GetProfile ¶
func (m *MockProfileServer) GetProfile(arg0 context.Context, arg1 *grpc.ProfileIDRequest) (*grpc.ProfileData, error)
GetProfile mocks base method.
func (*MockProfileServer) SetProfileCity ¶
func (m *MockProfileServer) SetProfileCity(arg0 context.Context, arg1 *grpc.SetCityRequest) (*grpc.ProfileData, error)
SetProfileCity mocks base method.
func (*MockProfileServer) SetProfilePhone ¶
func (m *MockProfileServer) SetProfilePhone(arg0 context.Context, arg1 *grpc.SetPhoneRequest) (*grpc.ProfileData, error)
SetProfilePhone mocks base method.
type MockProfileServerMockRecorder ¶
type MockProfileServerMockRecorder struct {
// contains filtered or unexported fields
}
MockProfileServerMockRecorder is the mock recorder for MockProfileServer.
func (*MockProfileServerMockRecorder) AppendSubByIDs ¶
func (mr *MockProfileServerMockRecorder) AppendSubByIDs(arg0, arg1 interface{}) *gomock.Call
AppendSubByIDs indicates an expected call of AppendSubByIDs.
func (*MockProfileServerMockRecorder) CreateProfile ¶
func (mr *MockProfileServerMockRecorder) CreateProfile(arg0, arg1 interface{}) *gomock.Call
CreateProfile indicates an expected call of CreateProfile.
func (*MockProfileServerMockRecorder) EditProfile ¶
func (mr *MockProfileServerMockRecorder) EditProfile(arg0, arg1 interface{}) *gomock.Call
EditProfile indicates an expected call of EditProfile.
func (*MockProfileServerMockRecorder) GetProfile ¶
func (mr *MockProfileServerMockRecorder) GetProfile(arg0, arg1 interface{}) *gomock.Call
GetProfile indicates an expected call of GetProfile.
func (*MockProfileServerMockRecorder) SetProfileCity ¶
func (mr *MockProfileServerMockRecorder) SetProfileCity(arg0, arg1 interface{}) *gomock.Call
SetProfileCity indicates an expected call of SetProfileCity.
func (*MockProfileServerMockRecorder) SetProfilePhone ¶
func (mr *MockProfileServerMockRecorder) SetProfilePhone(arg0, arg1 interface{}) *gomock.Call
SetProfilePhone indicates an expected call of SetProfilePhone.
type MockUnsafeProfileServer ¶
type MockUnsafeProfileServer struct {
// contains filtered or unexported fields
}
MockUnsafeProfileServer is a mock of UnsafeProfileServer interface.
func NewMockUnsafeProfileServer ¶
func NewMockUnsafeProfileServer(ctrl *gomock.Controller) *MockUnsafeProfileServer
NewMockUnsafeProfileServer creates a new mock instance.
func (*MockUnsafeProfileServer) EXPECT ¶
func (m *MockUnsafeProfileServer) EXPECT() *MockUnsafeProfileServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeProfileServerMockRecorder ¶
type MockUnsafeProfileServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeProfileServerMockRecorder is the mock recorder for MockUnsafeProfileServer.