Documentation ¶
Overview ¶
Package mock_service is a generated GoMock package.
Index ¶
- type MockUserService
- func (m *MockUserService) EXPECT() *MockUserServiceMockRecorder
- func (m *MockUserService) GetProfile(ctx context.Context, userId string) (*v1.GetProfileResponseData, error)
- func (m *MockUserService) Login(ctx context.Context, req *v1.LoginRequest) (string, error)
- func (m *MockUserService) Register(ctx context.Context, req *v1.RegisterRequest) error
- func (m *MockUserService) UpdateProfile(ctx context.Context, userId string, req *v1.UpdateProfileRequest) error
- type MockUserServiceMockRecorder
- func (mr *MockUserServiceMockRecorder) GetProfile(ctx, userId interface{}) *gomock.Call
- func (mr *MockUserServiceMockRecorder) Login(ctx, req interface{}) *gomock.Call
- func (mr *MockUserServiceMockRecorder) Register(ctx, req interface{}) *gomock.Call
- func (mr *MockUserServiceMockRecorder) UpdateProfile(ctx, userId, req interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockUserService ¶
type MockUserService struct {
// contains filtered or unexported fields
}
MockUserService is a mock of UserService interface.
func NewMockUserService ¶
func NewMockUserService(ctrl *gomock.Controller) *MockUserService
NewMockUserService creates a new mock instance.
func (*MockUserService) EXPECT ¶
func (m *MockUserService) EXPECT() *MockUserServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserService) GetProfile ¶
func (m *MockUserService) GetProfile(ctx context.Context, userId string) (*v1.GetProfileResponseData, error)
GetProfile mocks base method.
func (*MockUserService) Login ¶
func (m *MockUserService) Login(ctx context.Context, req *v1.LoginRequest) (string, error)
Login mocks base method.
func (*MockUserService) Register ¶
func (m *MockUserService) Register(ctx context.Context, req *v1.RegisterRequest) error
Register mocks base method.
func (*MockUserService) UpdateProfile ¶
func (m *MockUserService) UpdateProfile(ctx context.Context, userId string, req *v1.UpdateProfileRequest) error
UpdateProfile mocks base method.
type MockUserServiceMockRecorder ¶
type MockUserServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockUserServiceMockRecorder is the mock recorder for MockUserService.
func (*MockUserServiceMockRecorder) GetProfile ¶
func (mr *MockUserServiceMockRecorder) GetProfile(ctx, userId interface{}) *gomock.Call
GetProfile indicates an expected call of GetProfile.
func (*MockUserServiceMockRecorder) Login ¶
func (mr *MockUserServiceMockRecorder) Login(ctx, req interface{}) *gomock.Call
Login indicates an expected call of Login.
func (*MockUserServiceMockRecorder) Register ¶
func (mr *MockUserServiceMockRecorder) Register(ctx, req interface{}) *gomock.Call
Register indicates an expected call of Register.
func (*MockUserServiceMockRecorder) UpdateProfile ¶
func (mr *MockUserServiceMockRecorder) UpdateProfile(ctx, userId, req interface{}) *gomock.Call
UpdateProfile indicates an expected call of UpdateProfile.
Click to show internal directories.
Click to hide internal directories.