mock_service

package
v0.0.0-...-396859a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_service is a generated GoMock package.

Index

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL