Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSessionRepository ¶
type MockSessionRepository struct {
// contains filtered or unexported fields
}
MockSessionRepository is a mock of SessionRepository interface.
func NewMockSessionRepository ¶
func NewMockSessionRepository(ctrl *gomock.Controller) *MockSessionRepository
NewMockSessionRepository creates a new mock instance.
func (*MockSessionRepository) EXPECT ¶
func (m *MockSessionRepository) EXPECT() *MockSessionRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSessionRepository) GetSession ¶
func (m *MockSessionRepository) GetSession(ctx context.Context, userID uuid.UUID) (*domain.Session, error)
GetSession mocks base method.
type MockSessionRepositoryMockRecorder ¶
type MockSessionRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockSessionRepositoryMockRecorder is the mock recorder for MockSessionRepository.
func (*MockSessionRepositoryMockRecorder) Create ¶
func (mr *MockSessionRepositoryMockRecorder) Create(ctx, session interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockSessionRepositoryMockRecorder) GetSession ¶
func (mr *MockSessionRepositoryMockRecorder) GetSession(ctx, userID interface{}) *gomock.Call
GetSession indicates an expected call of GetSession.
type MockSessionService ¶
type MockSessionService struct {
// contains filtered or unexported fields
}
MockSessionService is a mock of SessionService interface.
func NewMockSessionService ¶
func NewMockSessionService(ctrl *gomock.Controller) *MockSessionService
NewMockSessionService creates a new mock instance.
func (*MockSessionService) EXPECT ¶
func (m *MockSessionService) EXPECT() *MockSessionServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSessionService) GetSession ¶
GetSession mocks base method.
type MockSessionServiceMockRecorder ¶
type MockSessionServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockSessionServiceMockRecorder is the mock recorder for MockSessionService.
func (*MockSessionServiceMockRecorder) Create ¶
func (mr *MockSessionServiceMockRecorder) Create(ctx, user interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockSessionServiceMockRecorder) GetSession ¶
func (mr *MockSessionServiceMockRecorder) GetSession(ctx, token interface{}) *gomock.Call
GetSession indicates an expected call of GetSession.
type MockUserHandler ¶
type MockUserHandler struct {
// contains filtered or unexported fields
}
MockUserHandler is a mock of UserHandler interface.
func NewMockUserHandler ¶
func NewMockUserHandler(ctrl *gomock.Controller) *MockUserHandler
NewMockUserHandler creates a new mock instance.
func (*MockUserHandler) Create ¶
func (m *MockUserHandler) Create(ctx echo.Context) error
Create mocks base method.
func (*MockUserHandler) EXPECT ¶
func (m *MockUserHandler) EXPECT() *MockUserHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUserHandlerMockRecorder ¶
type MockUserHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockUserHandlerMockRecorder is the mock recorder for MockUserHandler.
func (*MockUserHandlerMockRecorder) Create ¶
func (mr *MockUserHandlerMockRecorder) Create(ctx interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockUserHandlerMockRecorder) SignIn ¶
func (mr *MockUserHandlerMockRecorder) SignIn(ctx interface{}) *gomock.Call
SignIn indicates an expected call of SignIn.
type MockUserRepository ¶
type MockUserRepository struct {
// contains filtered or unexported fields
}
MockUserRepository is a mock of UserRepository interface.
func NewMockUserRepository ¶
func NewMockUserRepository(ctrl *gomock.Controller) *MockUserRepository
NewMockUserRepository creates a new mock instance.
func (*MockUserRepository) EXPECT ¶
func (m *MockUserRepository) EXPECT() *MockUserRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserRepository) GetByEmail ¶
GetByEmail mocks base method.
type MockUserRepositoryMockRecorder ¶
type MockUserRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockUserRepositoryMockRecorder is the mock recorder for MockUserRepository.
func (*MockUserRepositoryMockRecorder) Create ¶
func (mr *MockUserRepositoryMockRecorder) Create(ctx, user interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockUserRepositoryMockRecorder) GetByEmail ¶
func (mr *MockUserRepositoryMockRecorder) GetByEmail(ctx, email interface{}) *gomock.Call
GetByEmail indicates an expected call of GetByEmail.
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) Create ¶
func (m *MockUserService) Create(ctx context.Context, payload domain.UserPayload) error
Create mocks base method.
func (*MockUserService) EXPECT ¶
func (m *MockUserService) EXPECT() *MockUserServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserService) SignIn ¶
func (m *MockUserService) SignIn(ctx context.Context, payload domain.SignInPayload) (*domain.SignInResponse, error)
SignIn mocks base method.
type MockUserServiceMockRecorder ¶
type MockUserServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockUserServiceMockRecorder is the mock recorder for MockUserService.
func (*MockUserServiceMockRecorder) Create ¶
func (mr *MockUserServiceMockRecorder) Create(ctx, payload interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockUserServiceMockRecorder) SignIn ¶
func (mr *MockUserServiceMockRecorder) SignIn(ctx, payload interface{}) *gomock.Call
SignIn indicates an expected call of SignIn.